Skip to content

Commit 290935d

Browse files
committed
fixup! address comment
1 parent 8364843 commit 290935d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/util/inspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ function getDuplicateErrorFrameRanges(frames) {
13241324
if (positions === undefined) {
13251325
lineToPositions.set(frames[i], [i]);
13261326
} else {
1327-
positions.push(i);
1327+
positions[positions.length] = i;
13281328
}
13291329
}
13301330

0 commit comments

Comments
 (0)