From e4164115a27bbf74f8661349c7118acc1bbcfa11 Mon Sep 17 00:00:00 2001 From: Michael Kriese <michael.kriese@visualon.de> Date: Tue, 7 Jan 2020 11:06:24 +0100 Subject: [PATCH] chore: remove duplicate type definition (#5111) --- lib/util/exec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/util/exec.ts b/lib/util/exec.ts index b8bcb59969..2a12273c29 100644 --- a/lib/util/exec.ts +++ b/lib/util/exec.ts @@ -19,10 +19,7 @@ export interface ExecResult { stderr: string; } -export function exec( - cmd: string, - options?: ExecOptions & { docker?: DockerOptions } -): Promise<ExecResult> { +export function exec(cmd: string, options?: ExecOptions): Promise<ExecResult> { let pExecCommand = cmd; const pExecOptions = { ...options, encoding: 'utf-8' }; -- GitLab