diff --git a/src/virtualEnvironment.ts b/src/virtualEnvironment.ts index 22b27bf7..b8c7c4d5 100644 --- a/src/virtualEnvironment.ts +++ b/src/virtualEnvironment.ts @@ -2,6 +2,7 @@ import { app } from 'electron'; import log from 'electron-log/main'; import pty from 'node-pty'; import { ChildProcess, spawn } from 'node:child_process'; +import { rm } from 'node:fs/promises'; import os, { EOL } from 'node:os'; import path from 'node:path'; @@ -9,7 +10,6 @@ import type { TorchDeviceType } from './preload'; import { HasTelemetry, ITelemetry, trackEvent } from './services/telemetry'; import { getDefaultShell } from './shell/util'; import { pathAccessible } from './utils'; -import { rm } from 'node:fs/promises'; export type ProcessCallbacks = { onStdout?: (data: string) => void;