From 07e3ed443d7938f32c9e358859ea0288e0a5568a Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 21 Feb 2023 17:37:15 +0800 Subject: [PATCH] install: remove unused import --- install/install.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/install/install.ts b/install/install.ts index 68e7679a..b0be30f8 100644 --- a/install/install.ts +++ b/install/install.ts @@ -4,8 +4,6 @@ import { execSync, ExecSyncOptions } from 'child_process'; import { existsSync, readFileSync, writeFileSync } from 'fs'; import net from 'net'; -import os from 'os'; -import path from 'path'; const exec = (command: string, args?: ExecSyncOptions) => { try { @@ -218,8 +216,6 @@ function rollbackResolveField() { return true; } -const tmpFile = path.join(os.tmpdir(), `${Math.random().toString()}.js`); - const Steps = () => [ { init: 'install.preparing',