Skip to content

Commit

Permalink
Align shouldIgnoreConsole opt-out
Browse files Browse the repository at this point in the history
  • Loading branch information
sebmarkbage committed Jun 12, 2024
1 parent f93c7b2 commit a421306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/internal-test-utils/shouldIgnoreConsoleError.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module.exports = function shouldIgnoreConsoleError(format, args) {
if (__DEV__) {
if (typeof format === 'string') {
if (format.startsWith('%c%s%c')) {
if (format.startsWith('%c%s')) {
// Looks like a badged error message
args.splice(0, 3);
}
Expand Down

0 comments on commit a421306

Please sign in to comment.