fix: add path import for shell utils (#1298) (thanks @sibbl)
parent
d91f0ceeb3
commit
e4877656ca
|
|
@ -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 New Issue