未验证 提交 3a2644a2 编写于 作者: A Anmol Sethi

Fix vscode.sh

上级 65690fca
......@@ -13,7 +13,13 @@ main() {
yarn vscode:patch &> /dev/null || true
# 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 "$@"
......@@ -12,9 +12,6 @@ yarn watch # Visit http://localhost:8080 once completed.
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
reset VS Code then run `yarn vscode:patch`.
......
......@@ -35,6 +35,7 @@ export interface Args extends VsArgs {
readonly "list-extensions"?: boolean
readonly "install-extension"?: string[]
readonly "uninstall-extension"?: string[]
readonly locale?: string
readonly _: string[]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册