From 46745b372faf34ab0c9e36da7d7db2e40616528a Mon Sep 17 00:00:00 2001 From: oliver Date: Wed, 6 May 2026 17:00:04 +0800 Subject: [PATCH] fix(setup): escape PowerShell vars in printed DATABASE URL Use ${...} interpolation in init_pg output to avoid InvalidVariableReferenceWithDrive when rendering user:password@host:port. Co-authored-by: Cursor --- scripts/init_pg.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/init_pg.ps1 b/scripts/init_pg.ps1 index a7edb25..91e8dff 100644 --- a/scripts/init_pg.ps1 +++ b/scripts/init_pg.ps1 @@ -90,4 +90,4 @@ if (-not $SkipConnectionTest) { Write-Host "" Write-Host "Done." Write-Host "Use this DATABASE URL in netx:" -Write-Host "postgresql+psycopg://$NetxUser:$NetxPassword@$PgHost`:$PgPort/$NetxDatabase" +Write-Host "postgresql+psycopg://${NetxUser}:${NetxPassword}@${PgHost}:$PgPort/$NetxDatabase"