1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests/dynamic_import/permissions_data_remote.ts.out
Luca Casonato 5151afa123
fix: static import permissions in dynamic imports
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-05-17 09:45:54 +02:00

5 lines
373 B
Text

error: Uncaught (in promise) TypeError: Requires net access to "example.com", run again with the --allow-net flag
at data:application/javascript;base64,aW1wb3J0ICJodHRwczovL2V4YW1wbGUuY29tL3NvbWUvZmlsZS50cyI7:1:0
await import(`data:application/javascript;base64,${btoa(code)}`);
^
at async file:///[WILDCARD]/cli/tests/dynamic_import/permissions_data_remote.ts:3:1