Skip to content

Commit 59036b3

Browse files
committed
await
1 parent 8823d6b commit 59036b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/generate-images.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function generate(svg, path, {size, bg}) {
4040
}
4141

4242
async function main() {
43-
await initWasm(readFile(new URL(import.meta.resolve('@resvg/resvg-wasm/index_bg.wasm'))));
43+
await initWasm(await readFile(new URL(import.meta.resolve('@resvg/resvg-wasm/index_bg.wasm'))));
4444
const gitea = argv.slice(2).includes('gitea');
4545
const logoSvg = await readFile(new URL('../assets/logo.svg', import.meta.url), 'utf8');
4646
const faviconSvg = await readFile(new URL('../assets/favicon.svg', import.meta.url), 'utf8');

0 commit comments

Comments
 (0)