Skip to content

Commit

Permalink
don't try to run directories, obviously #651 thanks @gzphreak
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 19, 2021
1 parent db2eeb2 commit b41448d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/plugins/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ func Dir(path string) (Plugins, error) {
// ignore .dot files
continue
}
if file.IsDir() {
// ignore directories
continue
}
if strings.HasSuffix(filename, variableJSONFileExt) {
// ignore .vars.json files
continue
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
keep me around baby

0 comments on commit b41448d

Please sign in to comment.