mirror of
https://github.com/github/codeql-action
synced 2026-05-23 20:00:54 +03:00
Include CLI output in JSON error
This commit is contained in:
Generated
+1
-1
@@ -390,7 +390,7 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
||||
return JSON.parse(output);
|
||||
}
|
||||
catch (e) {
|
||||
throw new Error(`Unexpected output from codeql resolve build-environment: ${e}`);
|
||||
throw new Error(`Unexpected output from codeql resolve build-environment: ${e} in\n${output}`);
|
||||
}
|
||||
},
|
||||
async databaseRunQueries(databasePath, extraSearchPath, querySuitePath, flags, optimizeForLastQueryRun) {
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -720,7 +720,7 @@ export async function getCodeQLForCmd(
|
||||
return JSON.parse(output);
|
||||
} catch (e) {
|
||||
throw new Error(
|
||||
`Unexpected output from codeql resolve build-environment: ${e}`
|
||||
`Unexpected output from codeql resolve build-environment: ${e} in\n${output}`
|
||||
);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user