Fix vscode.sh

This commit is contained in:
Anmol Sethi 2020-02-20 18:36:38 -05:00
parent 65690fca65
commit 3a2644a2bc
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
3 changed files with 8 additions and 4 deletions

View File

@ -13,7 +13,13 @@ main() {
yarn vscode:patch &> /dev/null || true yarn vscode:patch &> /dev/null || true
# Install VS Code dependencies. # Install VS Code dependencies.
(cd lib/vscode && yarn) # The second yarn is required as for whatever reason, we get
# NODE_MODULE_VERSION mismatch errors without it.
(
cd lib/vscode
yarn
yarn --ignore-scripts
)
} }
main "$@" main "$@"

View File

@ -12,9 +12,6 @@ yarn watch # Visit http://localhost:8080 once completed.
Any changes made to the source will be live reloaded. Any changes made to the source will be live reloaded.
If you run into issues about a different version of Node being used, try running
`npm rebuild` in the VS Code directory.
If changes are made to the patch and you've built previously you must manually If changes are made to the patch and you've built previously you must manually
reset VS Code then run `yarn vscode:patch`. reset VS Code then run `yarn vscode:patch`.

View File

@ -35,6 +35,7 @@ export interface Args extends VsArgs {
readonly "list-extensions"?: boolean readonly "list-extensions"?: boolean
readonly "install-extension"?: string[] readonly "install-extension"?: string[]
readonly "uninstall-extension"?: string[] readonly "uninstall-extension"?: string[]
readonly locale?: string
readonly _: string[] readonly _: string[]
} }