This commit is contained in:
Chocobozzz 2020-01-30 13:41:22 +01:00
parent ca6d36227a
commit 43482ec712
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 2 deletions

View File

@ -199,8 +199,6 @@ function sha1 (str: string | Buffer, encoding: HexBase64Latin1Encoding = 'hex')
return createHash('sha1').update(str).digest(encoding)
}
function execShell (command: string, options?: ExecOptions) {
return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => {
exec(command, options, (err, stdout, stderr) => {