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.
defaults
current stage
1 parent 7697e45 commit eb963edCopy full SHA for eb963ed
reader.go
@@ -40,12 +40,13 @@ func ReadConfigs(cfgPath string) ([]byte, error) {
40
return nil
41
}
42
43
- if stageDir == "" || f.Name() == defaultStage || f.Name() == stage {
44
- stageDir = f.Name()
45
- }
46
-
47
if f.IsDir() {
48
- return nil
+ if stageDir == "" || f.Name() == defaultStage || f.Name() == stage {
+ stageDir = f.Name()
+ return nil
+ } else {
+ return filepath.SkipDir
49
+ }
50
51
52
if filepath.Ext(f.Name()) == ".yaml" && (stageDir == defaultStage || stageDir == stage) {
0 commit comments