Skip to content

Commit b41448d

Browse files
committed
don't try to run directories, obviously #651 thanks @gzphreak
1 parent db2eeb2 commit b41448d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

pkg/plugins/plugin.go

+4
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ func Dir(path string) (Plugins, error) {
136136
// ignore .dot files
137137
continue
138138
}
139+
if file.IsDir() {
140+
// ignore directories
141+
continue
142+
}
139143
if strings.HasSuffix(filename, variableJSONFileExt) {
140144
// ignore .vars.json files
141145
continue
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
keep me around baby

0 commit comments

Comments
 (0)