Skip to content

Commit 275d7bf

Browse files
authored
Fix npm set commands in devcontainer configuration
1 parent 1fe999a commit 275d7bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"postStartCommand": "nohup bash -c 'npm start &'",
6464
// Set the port to be public
6565
"postAttachCommand": [
66-
"npm set \"//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN\"",
67-
"npm set \"@github:registry=https://npm.pkg.github.com/\"",
66+
"npm set //npm.pkg.github.com/:_authToken=$GITHUB_TOKEN",
67+
"npm set @github:registry=https://npm.pkg.github.com/",
6868
"npm install -g @github/copilot",
6969
"gh cs ports visibility 4000:public -c \"$CODESPACE_NAME\""
7070
],

0 commit comments

Comments
 (0)