Skip to content

Commit 8959135

Browse files
authored
chore: setting proper error message for missing lefthook file (#748)
1 parent 14f712b commit 8959135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/config/load.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func readOne(fs afero.Fs, path string, names []string) (*viper.Viper, error) {
9191
return v, nil
9292
}
9393

94-
return nil, NotFoundError{fmt.Sprintf("No config files with names %q could not be found in \"%s\"", names, path)}
94+
return nil, NotFoundError{fmt.Sprintf("No config files with names %q have been found in \"%s\"", names, path)}
9595
}
9696

9797
// mergeAll merges configs using the following order.

0 commit comments

Comments
 (0)