Skip to content

Commit

Permalink
Fix vscode-js-debug submodule initialization (#859)
Browse files Browse the repository at this point in the history
This PR fixes an issue that occurred on fresh clones of the repository.
In #846 we added a new submodule `vscode-js-debug` along with preinstall
actions that should build it. This PR adds initialization to that flow
so the command works on fresh clones as well.

### How Has This Been Tested: 

run:
- `git clone [email protected]:software-mansion/radon-ide.git` 
- `cd packages/vscode-extension`
- `npm i` 

everything should work
  • Loading branch information
filip131311 authored Dec 18, 2024
1 parent dba798c commit 33799d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@
"format": "prettier --write --list-different src",
"build:tests": "tsc --project tsconfig.test.json",
"test": "npm run build:extension-code && npm run build:webview && npm run build:tests && vscode-test",
"preinstall": "cd ../vscode-js-debug && git submodule update && npm install && npm exec tsc"
"preinstall": "cd ../vscode-js-debug && git submodule update --init && npm install && npm exec tsc"
},
"devDependencies": {
"vscode-js-debug": "file:../vscode-js-debug",
Expand Down

0 comments on commit 33799d7

Please sign in to comment.