Skip to content

Commit ed4af62

Browse files
committed
Update dependencies including vnu-jar to v23.4.11
1 parent 6cda490 commit ed4af62

4 files changed

Lines changed: 529 additions & 484 deletions

File tree

lib/reporters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function selectReporter(options) {
3838

3939
default: {
4040
// Custom reporter if specified
41-
if (reporter !== null && typeof reporter !== 'undefined') {
41+
if (reporter !== null && reporter !== undefined) {
4242
reporter = path.resolve(process.cwd(), reporter);
4343
}
4444
}

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const pairs = {
1010

1111
function encode(string) {
1212
for (const symbol in pairs) {
13-
if (typeof string !== 'undefined') {
13+
if (string !== undefined) {
1414
string = string.replace(new RegExp(symbol, 'g'), pairs[symbol]);
1515
}
1616
}

0 commit comments

Comments
 (0)