From b8b978b68bba8f0cb1a8d38d46a69bccaf7890fb 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) --- src/exec.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/exec.ts b/src/exec.ts index fe88986..80a0363 100644 --- a/src/exec.ts +++ b/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) {