We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4836d42 commit 700bf00Copy full SHA for 700bf00
taskrc/taskrc.go
@@ -57,7 +57,11 @@ func GetConfig(dir string) (*ast.TaskRC, error) {
57
}
58
59
// Find all the nodes from the given directory up to the users home directory
60
- entrypoints, err := fsext.SearchAll("", dir, defaultTaskRCs)
+ absDir, err := filepath.Abs(dir)
61
+ if err != nil {
62
+ return nil, err
63
+ }
64
+ entrypoints, err := fsext.SearchAll("", absDir, defaultTaskRCs)
65
if err != nil {
66
return nil, err
67
@@ -84,6 +88,5 @@ func GetConfig(dir string) (*ast.TaskRC, error) {
84
88
85
89
config.Merge(localConfig)
86
90
87
-
91
return config, nil
92
0 commit comments