Skip to content

Commit d799caf

Browse files
committed
fix
1 parent 794bdb0 commit d799caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source-map-support.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ try {
415415
path.resolve(123);
416416
} catch(e) {
417417
const symbols = Object.getOwnPropertySymbols(e);
418-
const symbol = symbols.find(s => s.toString().indexOf('kIsNodeError') >= 0);
418+
const symbol = symbols.find(function (s) {return s.toString().indexOf('kIsNodeError') >= 0});
419419
if(symbol) kIsNodeError = symbol;
420420
}
421421

0 commit comments

Comments
 (0)