diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-07 22:09:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 21:09:50 +0000 |
commit | 49af1ab18da02f09e65506c873526c40d005c4ed (patch) | |
tree | 0d8f6028e98907096019500a7e1c717408eeb4e2 /ext/crypto/lib.rs | |
parent | b4aa1530970f7b9cc4e6f2f27e077852c4e178d3 (diff) |
refactor: remove prefix from include_js_files & use extension name (#17683)
Diffstat (limited to 'ext/crypto/lib.rs')
-rw-r--r-- | ext/crypto/lib.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index de47e467b..9d6017f39 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -75,11 +75,7 @@ use crate::shared::RawKeyData; pub fn init(maybe_seed: Option<u64>) -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) .dependencies(vec!["deno_webidl", "deno_web"]) - .esm(include_js_files!( - prefix "internal:ext/crypto", - "00_crypto.js", - "01_webidl.js", - )) + .esm(include_js_files!("00_crypto.js", "01_webidl.js",)) .ops(vec![ op_crypto_get_random_values::decl(), op_crypto_generate_key::decl(), |