Fix lint
This commit is contained in:
parent
ca6d36227a
commit
43482ec712
|
@ -199,8 +199,6 @@ function sha1 (str: string | Buffer, encoding: HexBase64Latin1Encoding = 'hex')
|
||||||
return createHash('sha1').update(str).digest(encoding)
|
return createHash('sha1').update(str).digest(encoding)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function execShell (command: string, options?: ExecOptions) {
|
function execShell (command: string, options?: ExecOptions) {
|
||||||
return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => {
|
return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => {
|
||||||
exec(command, options, (err, stdout, stderr) => {
|
exec(command, options, (err, stdout, stderr) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user