Skip to content

Commit 197c4a9

Browse files
committed
fix for webpack absolute line
1 parent b8f5dc3 commit 197c4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/driver/src/cypress/stack_utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { getStackLines, replacedStack, stackWithoutMessage, splitStack, unsplitS
1212

1313
const whitespaceRegex = /^(\s*)*/
1414
const stackLineRegex = /^\s*(at )?.*@?\(?.*\:\d+\:\d+\)?$/
15-
const customProtocolRegex = /^[^:\/]+:\/+/
15+
const customProtocolRegex = /^[^:\/]+:\/{1,3}/
1616
const percentNotEncodedRegex = /%(?![0-9A-F][0-9A-F])/g
1717
const STACK_REPLACEMENT_MARKER = '__stackReplacementMarker'
1818

0 commit comments

Comments
 (0)