eng: fix extension test runner on windows (#195600)

This commit is contained in:
Connor Peet
2023-10-13 14:49:32 -07:00
committed by GitHub
parent 2ac11b37d2
commit 7314532ae9

View File

@@ -57,7 +57,7 @@ module.exports = defineConfig(extensions.map(extension => {
if (!config.platform || config.platform === 'desktop') {
config.launchArgs = defaultLaunchArgs;
config.useInstallation = {
fromPath: process.env.INTEGRATION_TEST_ELECTRON_PATH || `${__dirname}/scripts/code.${process.platform === 'win32' ? 'cmd' : 'sh'}`,
fromPath: process.env.INTEGRATION_TEST_ELECTRON_PATH || `${__dirname}/scripts/code.${process.platform === 'win32' ? 'bat' : 'sh'}`,
};
config.env = {
...config.env,