Skip to content

Commit

Permalink
fix prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
CheatCod committed Jun 15, 2023
1 parent 3c9ac74 commit c1d0ca9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deno_ops/prelude/prelude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ declare const __instance_uuid: string | null;
// deno-lint-ignore no-explicit-any
declare const Deno: any;
const core = Deno[Deno.internal].core;
const { ops } = core;

export function taskPid(): TaskPID {
return __macro_pid;
Expand All @@ -17,5 +18,5 @@ export function instanceUUID(): string | null {
}

export function lodestoneVersion(): string {
return core.get_lodestone_version();
return ops.get_lodestone_version();
}

0 comments on commit c1d0ca9

Please sign in to comment.