Skip to content

Commit 7f82c4d

Browse files
author
Ives van Hoorne
committed
Fix dynamic fetching 404s
1 parent a2eed82 commit 7f82c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sandbox/eval/npm/fetch-npm-module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function downloadDependency(depName: string, depVersion: string, path: string) {
8383
return x.text();
8484
}
8585

86-
return `throw new Error("Could not find module ${path}")`;
86+
throw new Error(`Could not find module ${path}`);
8787
})
8888
.then(x => ({
8989
path,

0 commit comments

Comments
 (0)