Skip to content

Commit

Permalink
test: add resolve/test/list-exports to false positive in postinstal…
Browse files Browse the repository at this point in the history
…l scripts check

Added `resolve/test/list-exports/packages/tests/fixtures/resolve-1/project/test/resolver/multirepo/package.json as a false positive`
  • Loading branch information
alan-agius4 committed Dec 19, 2024
1 parent 0718e1b commit 5b0e803
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/legacy-cli/e2e/tests/misc/check-postinstalls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const POTENTIAL_SCRIPTS: ReadonlyArray<string> = ['preinstall', 'install', 'post
const FALSE_POSITIVE_PATHS: ReadonlySet<string> = new Set([
'jasmine-spec-reporter/examples/protractor/package.json',
'resolve/test/resolver/multirepo/package.json',
'resolve/test/list-exports/packages/tests/fixtures/resolve-1/project/test/resolver/multirepo/package.json',
]);

const INNER_NODE_MODULES_SEGMENT = '/node_modules/';
Expand Down

0 comments on commit 5b0e803

Please sign in to comment.