Add an integration test for packaging
Uses two pre-existing packages to run some simple queries on a javascript database.
This commit is contained in:
parent
1cc5f1d5dd
commit
d42f654f7a
8 changed files with 78 additions and 9 deletions
|
|
@ -799,7 +799,10 @@ function getCodeQLForCmd(cmd: string): CodeQL {
|
|||
const parsedOutput: PackDownloadOutput = JSON.parse(output);
|
||||
if (
|
||||
Array.isArray(parsedOutput.packs) &&
|
||||
parsedOutput.packs.every((p) => p.name && p.version)
|
||||
// TODO PackDownloadOutput will not include the version if it is not specified
|
||||
// in the input. The version is always the latest version available.
|
||||
// It should be added to the output, but this requires a CLI change
|
||||
parsedOutput.packs.every((p) => p.name /* && p.version */)
|
||||
) {
|
||||
return parsedOutput;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue