summaryrefslogtreecommitdiff
path: root/ext/cron/01_cron.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-01-26 23:46:46 +0100
committerGitHub <noreply@github.com>2024-01-26 23:46:46 +0100
commit462ce14a78b4109143918878042b9f552083c82e (patch)
tree64c65d91557159efccb40117e340e7abbb08d75d /ext/cron/01_cron.ts
parentd889f996577a6345d08c4ce71063be6d765fb5ec (diff)
refactor: migrate extensions to virtual ops module (#22135)
First pass of migrating away from `Deno.core.ensureFastOps()`. A few "tricky" ones have been left for a follow up.
Diffstat (limited to 'ext/cron/01_cron.ts')
-rw-r--r--ext/cron/01_cron.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/cron/01_cron.ts b/ext/cron/01_cron.ts
index c2a0c9cd1..3341d1a78 100644
--- a/ext/cron/01_cron.ts
+++ b/ext/cron/01_cron.ts
@@ -4,10 +4,7 @@ import { core, internals, primordials } from "ext:core/mod.js";
const {
isPromise,
} = core;
-const {
- op_cron_create,
- op_cron_next,
-} = core.ensureFastOps();
+import { op_cron_create, op_cron_next } from "ext:core/ops";
const {
ArrayPrototypeJoin,
NumberPrototypeToString,