File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- import { ExecError , execNpmExec , isExecError } from "@azure-tools/specs-shared/exec" ;
1+ import { execNpmExec , isExecError } from "@azure-tools/specs-shared/exec" ;
22import { debugLogger } from "@azure-tools/specs-shared/logger" ;
33import { join } from "path" ;
44
@@ -77,16 +77,15 @@ export async function runChecks(
7777 throw error ;
7878 }
7979
80- const execError = error as ExecError ;
8180 lintDiffResult = {
8281 autorestCommand,
8382 rootPath : path ,
8483 readme : tags . readme ,
8584 tag : tag ? tag : "" ,
8685 openApiType,
87- error : execError ,
88- stdout : execError . stdout || "" ,
89- stderr : execError . stderr || "" ,
86+ error,
87+ stdout : error . stdout || "" ,
88+ stderr : error . stderr || "" ,
9089 } as AutorestRunResult ;
9190
9291 logAutorestExecutionErrors ( lintDiffResult ) ;
You can’t perform that action at this time.
0 commit comments