Skip to content

Commit 95f7a5a

Browse files
committed
Removed a duplicate bracket in the regex
1 parent 3ffd0c0 commit 95f7a5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/logger/src/formatter/LogFormatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ abstract class LogFormatter {
162162
}
163163

164164
const stackLines = stack.split('\n');
165-
const regex = /\(([^())]*?):(\d+?):(\d+?)\)\\?$/;
165+
const regex = /\(([^()]*?):(\d+?):(\d+?)\)\\?$/;
166166

167167
for (const item of stackLines) {
168168
const match = regex.exec(item);

0 commit comments

Comments
 (0)