install: remove unused import

This commit is contained in:
undefined committed 2023-02-21 17:37:15 +08:00
1 parent 0d122bb703
commit 07e3ed443d
1 file changed
-4
-4
View File
@@ -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',