mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: remove unused import
This commit is contained in:
1 parent
0d122bb703
commit
07e3ed443d
1 file changed
-4
@@ -4,8 +4,6 @@
|
|||||||
import { execSync, ExecSyncOptions } from 'child_process';
|
import { execSync, ExecSyncOptions } from 'child_process';
|
||||||
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
import { existsSync, readFileSync, writeFileSync } from 'fs';
|
||||||
import net from 'net';
|
import net from 'net';
|
||||||
import os from 'os';
|
|
||||||
import path from 'path';
|
|
||||||
|
|
||||||
const exec = (command: string, args?: ExecSyncOptions) => {
|
const exec = (command: string, args?: ExecSyncOptions) => {
|
||||||
try {
|
try {
|
||||||
@@ -218,8 +216,6 @@ function rollbackResolveField() {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const tmpFile = path.join(os.tmpdir(), `${Math.random().toString()}.js`);
|
|
||||||
|
|
||||||
const Steps = () => [
|
const Steps = () => [
|
||||||
{
|
{
|
||||||
init: 'install.preparing',
|
init: 'install.preparing',
|
||||||
|
|||||||
Reference in new issue
Block a user