We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98dbc3f commit e763628Copy full SHA for e763628
src/common.ts
@@ -29,8 +29,8 @@ export function stringToUUID(str: string): string {
29
30
export function addDebugIdToSource(input: string, debugId: string): string {
31
return input.replace(
32
- /(\n*)?(\/\/# debugId=.+)?(\n*)?(\/\/# .+\n*)?$/,
33
- `\n//# debugId=${debugId}\n$4`
+ /\n*(\/\/# debugId=.+)?\n*(\/\/# .+\n*)?$/,
+ `\n//# debugId=${debugId}\n$2`
34
);
35
}
36
0 commit comments