-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(plugin-js-packages): filter out warnings
- Loading branch information
1 parent
c23e38e
commit 61ab0f7
Showing
5 changed files
with
104 additions
and
2 deletions.
There are no files selected for viewing
5 changes: 4 additions & 1 deletion
5
packages/plugin-js-packages/src/lib/package-managers/pnpm/audit-result.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
packages/plugin-js-packages/src/lib/package-managers/pnpm/outdated-result.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
packages/plugin-js-packages/src/lib/package-managers/pnpm/utils.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const filterOutWarnings = (output: string): string => | ||
output | ||
.split('\n') | ||
.filter(line => !line.trim().startsWith('WARN')) | ||
.join('\n'); |