Skip to content

Commit 3b525a0

Browse files
Merge pull request #7 from jacobwgillespie/scripts
2 parents 972f888 + a21bdb2 commit 3b525a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func runScript(name string, args []string) error {
2323
}
2424

2525
if pkg.Scripts == nil {
26-
return fmt.Errorf("No scripts found")
26+
pkg.Scripts = &map[string]string{}
2727
}
2828

2929
binDirs := findBinDirs(cwd)

0 commit comments

Comments
 (0)