Skip to content

Commit 4edc308

Browse files
committed
format
1 parent a51ebf9 commit 4edc308

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/svelte/src/compiler/utils/mapped_code.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@ export function apply_preprocessor_sourcemap(filename, svelte_map, preprocessor_
299299
} else if (typeof Buffer !== 'undefined') {
300300
b64 = Buffer.from(this.toString(), 'utf8').toString('base64');
301301
} else {
302-
throw new Error('Unsupported environment: `window.btoa` or `Buffer` should be present to use toUrl.');
302+
throw new Error(
303+
'Unsupported environment: `window.btoa` or `Buffer` should be present to use toUrl.'
304+
);
303305
}
304306
return 'data:application/json;charset=utf-8;base64,' + b64;
305307
}

0 commit comments

Comments
 (0)