diff options
Diffstat (limited to 'runtime/web_worker.rs')
-rw-r--r-- | runtime/web_worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 2611b6f34..ed1e19c9e 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -514,7 +514,7 @@ impl WebWorker { ops::web_worker::deno_web_worker::init_ops_and_esm(), ]; - #[cfg(hmr)] + #[cfg(feature = "hmr")] assert!( cfg!(not(feature = "only_snapshotted_js_sources")), "'hmr' is incompatible with 'only_snapshotted_js_sources'." |