mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 05:30:46 +08:00
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 <cursoragent@cursor.com>
This commit is contained in:
parent
32bfa78383
commit
46745b372f
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue