Skip to content

Commit

Permalink
fix: minor lint (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnturner authored May 17, 2022
1 parent 552f480 commit 0984000
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ function config(additions) {
"pass-enoaudit": false,
};
const levels = mapVulnerabilityLevelInput(additions.levels || {});
const { levels: _unusedLevels, ...rest } = additions;
return {
...defaultConfig,
...rest,
...additions,
levels: { ...defaultConfig.levels, ...levels },
};
}
Expand Down
2 changes: 1 addition & 1 deletion test/pnpm-auditer.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { expect } = require("chai");
const { audit, report } = require("../dist/pnpm-auditer");
const { report } = require("../dist/pnpm-auditer");
const { default: Allowlist } = require("../dist/allowlist");
const {
summaryWithDefault,
Expand Down

0 comments on commit 0984000

Please sign in to comment.