|
|
@ -1,11 +1,8 @@ |
|
|
|
import * as cp from 'child_process' |
|
|
|
import * as cp from 'child_process' |
|
|
|
import fs from 'fs/promises' |
|
|
|
import { mkdir, writeFile } from 'fs/promises' |
|
|
|
import { join, resolve, isAbsolute } from 'path' |
|
|
|
import { join, isAbsolute } from 'path' |
|
|
|
import { tmpdir } from 'os' |
|
|
|
import { tmpdir } from 'os' |
|
|
|
import { promisify } from 'util' |
|
|
|
import { promisify } from 'util' |
|
|
|
const mkdir = fs.mkdir |
|
|
|
|
|
|
|
const rmdir = fs.rmdir |
|
|
|
|
|
|
|
const writeFile = fs.writeFile |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const exec = promisify(cp.exec) |
|
|
|
const exec = promisify(cp.exec) |
|
|
|
|
|
|
|
|
|
|
|