From 0b356f9c6abb1bf0d1edfbccbe849286d48e81e9 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:50:16 +1100 Subject: [PATCH] nit --- src/virtualEnvironment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;