summaryrefslogtreecommitdiff
path: root/ext/flash/lib.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-07 22:09:50 +0100
committerGitHub <noreply@github.com>2023-02-07 21:09:50 +0000
commit49af1ab18da02f09e65506c873526c40d005c4ed (patch)
tree0d8f6028e98907096019500a7e1c717408eeb4e2 /ext/flash/lib.rs
parentb4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff)
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/flash/lib.rs')
-rw-r--r--ext/flash/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs
index ab048c9cd..f92aa3ea3 100644
--- a/ext/flash/lib.rs
+++ b/ext/flash/lib.rs
@@ -1514,10 +1514,7 @@ pub fn init<P: FlashPermissions + 'static>(unstable: bool) -> Extension {
"deno_websocket",
"deno_http",
])
- .esm(deno_core::include_js_files!(
- prefix "internal:ext/flash",
- "01_http.js",
- ))
+ .esm(deno_core::include_js_files!("01_http.js",))
.ops(vec![
op_flash_serve::decl::<P>(),
op_node_unstable_flash_serve::decl::<P>(),