Skip to content

Commit

Permalink
Update pkg/plugins/golang/v3/init.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adrián <Adirio@users.noreply.github.com>
  • Loading branch information
justinsb and Adirio committed Jan 29, 2021
1 parent 0d1c84f commit e5024b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/golang/v3/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func checkDir() error {
if info.Name() != "go.mod" && info.Name() != "go.sum" && !strings.HasPrefix(info.Name(), ".") {
return fmt.Errorf(
"target directory is not empty "+
"(only go.mod, files with the prefix \".\" and .git directories are allowed); "+
"(only go.mod, go.sum, and files and directories with the prefix \".\" are allowed); "+
"found existing file %q",
path)
}
Expand Down

0 comments on commit e5024b3

Please sign in to comment.