smoke - enable graceful-fs (#137734)

This commit is contained in:
Benjamin Pasero
2021-11-23 17:29:08 +01:00
committed by GitHub
parent 04b6138b4d
commit 1b40be3377
2 changed files with 8 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ import * as rimraf from 'rimraf';
import { URI } from 'vscode-uri';
import * as kill from 'tree-kill';
import * as optimistLib from 'optimist';
import { StdioOptions } from 'node:child_process';
const optimist = optimistLib
.describe('workspacePath', 'path to the workspace (folder or *.code-workspace file) to open in the test').string('workspacePath')
@@ -154,7 +153,7 @@ async function launchServer(browserType: BrowserType): Promise<{ endpoint: url.U
}
}
const stdio: StdioOptions = optimist.argv.debug ? 'pipe' : ['ignore', 'pipe', 'ignore'];
const stdio: cp.StdioOptions = optimist.argv.debug ? 'pipe' : ['ignore', 'pipe', 'ignore'];
let serverProcess = cp.spawn(
serverLocation,