diff --git a/packages/cli-test/package.json b/packages/cli-test/package.json index a5d275502..abbeab275 100644 --- a/packages/cli-test/package.json +++ b/packages/cli-test/package.json @@ -1,6 +1,6 @@ { "name": "@slack/cli-test", - "version": "0.2.1+cli.2.26.0", + "version": "0.2.2+cli.2.27.1", "description": "Node.js bindings for the Slack CLI for use in automated testing", "author": "Salesforce, Inc.", "license": "MIT", diff --git a/packages/cli-test/src/cli/commands/platform.ts b/packages/cli-test/src/cli/commands/platform.ts index 8ff309ae0..805ce4cfb 100644 --- a/packages/cli-test/src/cli/commands/platform.ts +++ b/packages/cli-test/src/cli/commands/platform.ts @@ -203,10 +203,9 @@ export default { return new Promise((resolve, reject) => { // kill the shell process shell.kill(proc).then(() => { - // Due to the complexity of gracefully shutting down processes on Windows / lack of interrupt signal support, // we don't wait for the SLACK_TRACE_PLATFORM_RUN_STOP trace on Windows - if (process.platform === "win32") { + if (process.platform === 'win32') { resolve(); } diff --git a/packages/cli-test/src/cli/shell.ts b/packages/cli-test/src/cli/shell.ts index 804e8f859..7c6766086 100644 --- a/packages/cli-test/src/cli/shell.ts +++ b/packages/cli-test/src/cli/shell.ts @@ -203,7 +203,7 @@ export const shell = { }, assembleShellEnv: function assembleShellEnv(): Record { const spawnedEnv = { ...process.env }; - if (process.platform === "win32"){ + if (process.platform === 'win32') { spawnedEnv.PATH = process.env.PATH; } // Always enable test trace output