Skip to content

Commit 506744a

Browse files
authored
fix: sanitize db url from typegen logs
1 parent 0d889b4 commit 506744a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gen/types/typescript/typescript.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func Run(ctx context.Context, useLocal bool, useLinked bool, projectId string, d
5757
config.Port,
5858
url.PathEscape(config.Database),
5959
)
60-
fmt.Fprintln(os.Stderr, "Connecting to", escaped)
60+
fmt.Fprintln(os.Stderr, "Connecting to", config.Host)
6161

6262
return utils.DockerRunOnceWithConfig(
6363
ctx,

0 commit comments

Comments
 (0)