This commit is contained in:
velzie 2024-09-01 19:53:12 -04:00
parent b47f19ac60
commit 5bf5e29163
No known key found for this signature in database
GPG key ID: 048413F95F0DDE1F
2 changed files with 2 additions and 2 deletions

View file

@ -310,7 +310,7 @@ export class ScramjetClient {
} }
} }
delete Error.prepareStackTrace; Error.prepareStackTrace = pst;
if (earlyreturn) { if (earlyreturn) {
return returnValue; return returnValue;

View file

@ -5,7 +5,7 @@ let sourcemaps: {
map: [string, number, number][]; map: [string, number, number][];
}[] = []; }[] = [];
export const enabled = self.$scramjet.config.flags.sourcemaps; export const enabled = () => self.$scramjet.config.flags.sourcemaps;
export default function (client: ScramjetClient, self: Self) { export default function (client: ScramjetClient, self: Self) {
// every script will push a sourcemap // every script will push a sourcemap