Skip to content

Commit

Permalink
fix: update use of execa for v8
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlday committed Mar 3, 2024
1 parent 1ef68e3 commit bc0e0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ConfigurationManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit bc0e0c4

Please sign in to comment.