diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2021-01-29 13:15:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 08:15:59 -0500 |
commit | daad575825ab82f1147d48c0e0e8963d5d29e879 (patch) | |
tree | 21e14ac7d146e3a839ced7b66e8bd09570e48606 /runtime/js/11_workers.js | |
parent | f3122442db70d16f4861f39edf32d89ac2530aa2 (diff) |
fix(cli): Move WorkerOptions::deno types to unstable (#9163)
Diffstat (limited to 'runtime/js/11_workers.js')
-rw-r--r-- | runtime/js/11_workers.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/js/11_workers.js b/runtime/js/11_workers.js index 5be14d461..c78eee833 100644 --- a/runtime/js/11_workers.js +++ b/runtime/js/11_workers.js @@ -143,10 +143,10 @@ } = options; // TODO(Soremwar) - // `deno: true` is kept for backwards compatibility with the previous worker - // options implementation. Remove for 2.0 + // `deno: boolean` is kept for backwards compatibility with the previous + // worker options implementation. Remove for 2.0 let workerDenoAttributes; - if (deno === true) { + if (typeof deno == "boolean") { workerDenoAttributes = { // Change this to enable the Deno namespace by default namespace: deno, |