Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
  • Loading branch information
prabhu committed Oct 27, 2023
1 parent f047f6b commit 4349495
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2577,7 +2577,7 @@ export const getPyMetadata = async function (pkgList, fetchDepsInfo) {
if (DEBUG_MODE) {
console.error(p.name, "is not found on PyPI.");
console.log(
"If this package is available from PyPI or a registry, its name might be different to the module name. Raise a ticket at https://github.com/CycloneDX/cdxgen/issues so that this could be added to the mapping file pypi-pkg-aliases.json"
"If this package is available from PyPI or a registry, its name might be different from the module name. Raise a ticket at https://github.com/CycloneDX/cdxgen/issues so that this can be added to the mapping file pypi-pkg-aliases.json"
);
console.log(
"Alternatively, if this is a package that gets installed directly in your environment and offers a python binding, then track such packages manually."
Expand Down
2 changes: 1 addition & 1 deletion utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ test("parse github actions workflow data", async () => {
dep_list = parseGitHubWorkflowData(
readFileSync("./.github/workflows/repotests.yml", { encoding: "utf-8" })
);
expect(dep_list.length).toEqual(7);
expect(dep_list.length).toEqual(8);
expect(dep_list[0]).toEqual({
group: "actions",
name: "checkout",
Expand Down

0 comments on commit 4349495

Please sign in to comment.