Skip to content

Commit c097abf

Browse files
authored
Update error message (#1366)
1 parent 11084ac commit c097abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func Generate(ctx context.Context, e Env, dir, filename string, stderr io.Writer
6363
}
6464

6565
if yamlMissing && jsonMissing {
66-
fmt.Fprintln(stderr, "error parsing sqlc.json: file does not exist")
66+
fmt.Fprintln(stderr, "error parsing configuration files. sqlc.yaml or sqlc.json: file does not exist")
6767
return nil, errors.New("config file missing")
6868
}
6969

0 commit comments

Comments
 (0)