Skip to content

Commit ef85bf5

Browse files
committed
fix(workflow-cli): HOME path not right sometime
1 parent 32d3a49 commit ef85bf5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/settings/utils_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ type confgCases struct {
1515

1616
func TestSelectSettings(t *testing.T) {
1717
t.Parallel()
18+
homeDir := "/a/b/c"
19+
SetHome(homeDir)
1820
cases := []confgCases{
1921
{"test", filepath.Join(FindHome(), ".drycc", "test.json")},
2022
{"", filepath.Join(FindHome(), ".drycc", "client.json")},

0 commit comments

Comments
 (0)