Skip to content

Commit d0942b0

Browse files
Copilotimnasnainaec
andcommitted
Update run-mongo VSCode task to use npm run database
Co-authored-by: imnasnainaec <6411521+imnasnainaec@users.noreply.github.com>
1 parent 46d3f10 commit d0942b0

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.vscode/tasks.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,9 @@
2828
},
2929
{
3030
"label": "run-mongo",
31-
"command": "mongod",
31+
"command": "npm",
3232
"type": "process",
33-
"args": [
34-
"--dbpath",
35-
"${workspaceFolder}/mongo_database",
36-
"--replSet",
37-
"rs0"
38-
],
33+
"args": ["run", "database"],
3934
"problemMatcher": "$tsc"
4035
}
4136
]

0 commit comments

Comments
 (0)