remove pify

This commit is contained in:
Labhansh Agrawal 2023-02-21 13:29:00 +05:30
parent 591c692349
commit 605b29f4fa
6 changed files with 10 additions and 22 deletions

View file

@ -4,7 +4,7 @@ import {spawn, exec, SpawnOptions} from 'child_process';
import {isAbsolute, resolve} from 'path';
import {existsSync} from 'fs';
import {version} from '../app/package.json';
import pify from 'pify';
import {promisify} from 'util';
import args from 'args';
import chalk from 'chalk';
import open from 'open';
@ -232,7 +232,7 @@ const main = (argv: string[]) => {
const opts = {
env
};
return pify(exec)(cmd, opts);
return promisify(exec)(cmd, opts);
}
}