diff --git a/src/ConfigurationManager.ts b/src/ConfigurationManager.ts index 7ea8c28f..ef3b4f50 100644 --- a/src/ConfigurationManager.ts +++ b/src/ConfigurationManager.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import execa from "execa"; +import * as execa from "execa"; import * as glob from "glob"; import * as path from "path"; import * as portfinder from "portfinder"; @@ -493,7 +493,7 @@ export class ConfigurationManager implements Disposable { Constants.EXTENSION_OUTPUT_CHANNEL.appendLine( "Starting managed service.", ); - (this.process = execa("java", args)).catch( + (this.process = execa.execa("java", args)).catch( (err: execa.ExecaError) => { if (err.isCanceled) { Constants.EXTENSION_OUTPUT_CHANNEL.appendLine(