Skip to content

Commit ab1ae90

Browse files
semenkodiracdeltas
authored andcommitted
High-severity messages accidentally logged twice
Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
1 parent 55adfed commit ab1ae90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chromium/util.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ function log(level, str) {
1717
if (level === WARN) {
1818
// Show warning with a little yellow icon in Chrome.
1919
console.warn(str);
20+
} else {
21+
console.log(str);
2022
}
21-
console.log(str);
2223
}
2324
}

0 commit comments

Comments
 (0)