We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fd5b85 commit da9dee7Copy full SHA for da9dee7
packages/test-harness/src/scripts/generateTestSubsetFile.ts
@@ -20,6 +20,8 @@ languages/go/
20
*/
21
function run() {
22
const testSubsetGrepPath = testSubsetFilePath();
23
+ // Use CURSORLESS_VSCODE_COMMAND environment variable if set, otherwise default to 'code'
24
+ const vscodeCommand = process.env.CURSORLESS_VSCODE_COMMAND || "code";
25
26
const exists = fs.existsSync(testSubsetGrepPath);
27
@@ -28,7 +30,7 @@ function run() {
28
30
}
29
31
32
if (!exists || process.argv.includes("--always-open")) {
- child.execSync(`code ${testSubsetGrepPath}`);
33
+ child.execSync(`${vscodeCommand} ${testSubsetGrepPath}`);
34
35
36
if (!exists && process.argv.includes("--fail-if-not-exists")) {
0 commit comments