Skip to content

Commit dee46b3

Browse files
authored
fix(plugin-js-packages): add ignoreExitCode option for yarn v2 package manager (#878)
Fix #877
1 parent 1353b20 commit dee46b3

File tree

1 file changed

+1
-0
lines changed
  • packages/plugin-js-packages/src/lib/package-managers/yarn-modern

1 file changed

+1
-0
lines changed

packages/plugin-js-packages/src/lib/package-managers/yarn-modern/yarn-modern.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const yarnv2PackageManager: PackageManager = {
3131
],
3232
supportedDepGroups: ['prod', 'dev'], // Yarn v2 does not support audit for optional dependencies
3333
unifyResult: yarnv2ToAuditResult,
34+
ignoreExitCode: true,
3435
},
3536
outdated: {
3637
commandArgs: COMMON_OUTDATED_ARGS,

0 commit comments

Comments
 (0)