Skip to content

Commit fcdb0ef

Browse files
committed
Lint
1 parent 3eceafc commit fcdb0ef

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/core/src/utils/node-stack-trace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function node(getModule?: GetModuleFn): StackLineParserFn {
6262
return {
6363
filename: `<data:${dataUriMatch[2]}>`,
6464
function: dataUriMatch[1],
65-
}
65+
};
6666
}
6767

6868
const lineMatch = line.match(FULL_MATCH);

packages/core/test/lib/utils/stacktrace.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ describe('node', () => {
382382
});
383383

384384
it('parses function name when filename is a data uri ', () => {
385-
const input = 'at dynamicFn (data:application/javascript,export function dynamicFn() { throw new Error(\'Error from data-uri module\');};:1:38)';
385+
const input =
386+
"at dynamicFn (data:application/javascript,export function dynamicFn() { throw new Error('Error from data-uri module');};:1:38)";
386387

387388
const expectedOutput = {
388389
function: 'dynamicFn',

0 commit comments

Comments
 (0)