Skip to content

Commit

Permalink
Update postinstall scripts
Browse files Browse the repository at this point in the history
- updated the `postinstall` scripts for both `cortext-debug` and `cpp-debug`.
- updated the scripts as a workaround to a known yarn issue on windows
(yarnpkg/yarn#4564)

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Sep 23, 2019
1 parent e60301c commit b1b1e56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/cortex-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts"
],
"scripts": {
"postinstall": "yarn run download",
"postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"",
"prepare": "yarn run clean && yarn run build",
"download": "download-debug-adapters",
"clean": "theiaext clean",
Expand Down
2 changes: 1 addition & 1 deletion packages/cpp-debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"src"
],
"scripts": {
"postinstall": "yarn run download",
"postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"",
"prepare": "yarn run clean && yarn run build",
"download": "download-debug-adapters",
"clean": "theiaext clean",
Expand Down

0 comments on commit b1b1e56

Please sign in to comment.