From 49af1ab18da02f09e65506c873526c40d005c4ed Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Tue, 7 Feb 2023 22:09:50 +0100 Subject: refactor: remove prefix from include_js_files & use extension name (#17683) --- ext/crypto/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'ext/crypto/lib.rs') 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) -> 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(), -- cgit v1.2.3