Skip to content

Commit ef20688

Browse files
committed
Fix flatMap using
1 parent 723c9ab commit ef20688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Model {
4646

4747
this.allowlistedPathsFound.push(
4848
...advisory.findings
49-
.flatMap((finding) => `${advisory.id}|${finding.paths}`)
49+
.map((finding) => `${advisory.id}|${finding.paths}`)
5050
.filter((path) => this.allowlist.paths.includes(path))
5151
);
5252

0 commit comments

Comments
 (0)