nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 18 lines 678 B view raw
1diff --git a/packages/service/scripts/patch.js b/packages/service/scripts/patch.js 2index 2d01f3a..f26c216 100644 3--- a/packages/service/scripts/patch.js 4+++ b/packages/service/scripts/patch.js 5@@ -13,11 +13,7 @@ const vscTsExtPath = path.resolve(__dirname, "../vscode/extensions/typescript-la 6 const tsExtPath = path.resolve(__dirname, "../src/typescript-language-features"); 7 8 async function getVscodeSha() { 9- const { stdout } = await exec("git", ["submodule", "status", "vscode"], { 10- cwd: path.resolve(__dirname, "../"), 11- }); 12- const commit = stdout.match(/^\s*([^\s]+)\s/)[1]; 13- return commit; 14+ return await fs.readFile('./HEAD', { encoding: 'utf8' }); 15 } 16 17 /** 18