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/webidl/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/webidl/lib.rs') diff --git a/ext/webidl/lib.rs b/ext/webidl/lib.rs index 4e21ef796..1c3d760d3 100644 --- a/ext/webidl/lib.rs +++ b/ext/webidl/lib.rs @@ -6,9 +6,6 @@ use deno_core::Extension; /// Load and execute the javascript code. pub fn init() -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) - .esm(include_js_files!( - prefix "internal:ext/webidl", - "00_webidl.js", - )) + .esm(include_js_files!("00_webidl.js",)) .build() } -- cgit v1.2.3