fix: add path import for shell utils (#1298) (thanks @sibbl)
This commit is contained in:
parent
d91f0ceeb3
commit
e4877656ca
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import fs from "node:fs";
|
|
||||||
import { spawn } from "node:child_process";
|
import { spawn } from "node:child_process";
|
||||||
|
import fs from "node:fs";
|
||||||
|
import path from "node:path";
|
||||||
|
|
||||||
function resolvePowerShellPath(): string {
|
function resolvePowerShellPath(): string {
|
||||||
const systemRoot = process.env.SystemRoot || process.env.WINDIR;
|
const systemRoot = process.env.SystemRoot || process.env.WINDIR;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue