Skip to content

Commit

Permalink
fix: do not emit warning when using --quiet
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Dec 2, 2023
1 parent e65e1a8 commit d9fc4f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const runAll = async (
}

ctx.shouldHidePartiallyStaged = hidePartiallyStaged
if (!ctx.shouldHidePartiallyStaged) {
if (!ctx.shouldHidePartiallyStaged && !quiet) {
logger.warn(skippingHidePartiallyStaged(hasInitialCommit && stash, diff))
}

Expand Down

0 comments on commit d9fc4f3

Please sign in to comment.