File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
packages/test-harness/src Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ export async function launchVscodeAndRunTests(extensionTestsPath: string) {
2727 "packages/cursorless-vscode/dist" ,
2828 ) ;
2929
30- // const crashDir = getEnvironmentVariableStrict("VSCODE_CRASH_DIR");
31- // const logsDir = getEnvironmentVariableStrict("VSCODE_LOGS_DIR");
30+ const crashDir = getEnvironmentVariableStrict ( "VSCODE_CRASH_DIR" ) ;
31+ const logsDir = getEnvironmentVariableStrict ( "VSCODE_LOGS_DIR" ) ;
3232 const useLegacyVscode =
3333 getEnvironmentVariableStrict ( "APP_VERSION" ) === "legacy" ;
3434
@@ -81,7 +81,10 @@ export async function launchVscodeAndRunTests(extensionTestsPath: string) {
8181 // don't bother. Can be re-enabled if we ever need it; on windows it only
8282 // hangs some of the time, so might be enough to get a crash dump when you
8383 // need it.
84- launchArgs : [ "--force-node-api-uncaught-exceptions-policy=true" ] ,
84+ launchArgs :
85+ useLegacyVscode || os . platform ( ) === "win32"
86+ ? undefined
87+ : [ `--crash-reporter-directory=${ crashDir } ` , `--logsPath=${ logsDir } ` ] ,
8588 } ) ;
8689
8790 console . log ( `Returned from "runTests" with value: ${ code } ` ) ;
You can’t perform that action at this time.
0 commit comments