Skip to content

Commit 73afc21

Browse files
committed
Wrap postgres url in quotes for safer expansion
1 parent 5460296 commit 73afc21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@
4848
{
4949
"label": "Stop CockroachDB",
5050
"type": "shell",
51-
"command": "cockroach quit --insecure --url postgresql://127.0.0.1:32221 || true # Ignore Errors, may not be running",
51+
"command": "cockroach quit --insecure --url \"postgresql://127.0.0.1:32221/omicron?sslmode=disable\" || true # Ignore Errors, may not be running",
5252
"problemMatcher": []
5353
},
5454
{
5555
"label": "Populate Nexus DB",
5656
"detail": "Do not use",
5757
"type": "shell",
58-
"command": "cargo run --bin=omicron-dev -- db-populate --database-url postgresql://[email protected]:32221/omicron",
58+
"command": "cargo run --bin=omicron-dev -- db-populate --database-url \"postgresql://[email protected]:32221/omicron?sslmode=disable\"",
5959
"options": {
6060
"cwd": "${workspaceFolder}/../omicron"
6161
},

0 commit comments

Comments
 (0)