diff --git a/extensions.json b/extensions.json index fd49bd966..a429fc9ca 100644 --- a/extensions.json +++ b/extensions.json @@ -311,7 +311,7 @@ }, "equinusocio.vsc-material-theme-icons": { "repository": "https://github.com/material-theme/vsc-material-theme-icons", - "prepublish": "sed -i 's+git@github.com:material-theme/vsc-material-theme-icons-src.git+https://github.com/material-theme/vsc-material-theme-icons-src.git+g' build/get-remote-icons.ts && yarn build" + "prepublish": "yarn build" }, "erlang-ls.erlang-ls": { "repository": "https://github.com/erlang-ls/vscode", diff --git a/lib/exec.js b/lib/exec.js index 9532b70a7..b60d6d9e4 100644 --- a/lib/exec.js +++ b/lib/exec.js @@ -21,7 +21,13 @@ module.exports = async (command, options) => { console.log(`Running: ${command}`); } return new Promise((resolve, reject) => { - const child = cp.exec(command, { cwd: options?.cwd }, (error, stdout, stderr) => { + const child = cp.exec(command, { + cwd: options?.cwd, env: { + ...process.env, + // remove on purporse to work around issues in vscode package + GITHUB_TOKEN: undefined + } + }, (error, stdout, stderr) => { if (error) { return reject(error); }