From a6a5d98be8466ae2f33ca8778aa991961262255c Mon Sep 17 00:00:00 2001 From: Linda_pp Date: Fri, 10 Apr 2020 01:52:24 +0900 Subject: [PATCH] Expose ExecOptions interface (#322) --- packages/exec/src/exec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/exec/src/exec.ts b/packages/exec/src/exec.ts index fe88986b..80a0363c 100644 --- a/packages/exec/src/exec.ts +++ b/packages/exec/src/exec.ts @@ -1,6 +1,8 @@ -import * as im from './interfaces' +import {ExecOptions} from './interfaces' import * as tr from './toolrunner' +export {ExecOptions} + /** * Exec a command. * Output will be streamed to the live console. @@ -14,7 +16,7 @@ import * as tr from './toolrunner' export async function exec( commandLine: string, args?: string[], - options?: im.ExecOptions + options?: ExecOptions ): Promise { const commandArgs = tr.argStringToArray(commandLine) if (commandArgs.length === 0) {