Skip to content

Commit

Permalink
fix(ext/node): use primordials in ext/node/polyfills/wasi.ts (denolan…
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-abed committed Sep 13, 2024
1 parent 8539cac commit d162733
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/node/polyfills/wasi.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

// TODO(petamoriken): enable prefer-primordials for node polyfills
// deno-lint-ignore-file prefer-primordials
import { primordials } from "ext:core/mod.js";

const { Error } = primordials;

class Context {
constructor() {
Expand Down

0 comments on commit d162733

Please sign in to comment.