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',