Skip to content

Commit

Permalink
refactor: replace NodeJS internal module imports with node: specifi…
Browse files Browse the repository at this point in the history
…er imports
  • Loading branch information
wolfy1339 committed Nov 26, 2023
1 parent a21fe60 commit 37f0030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check
import esbuild from "esbuild";
import { copyFile, readFile, writeFile, rm } from "fs/promises";
import { copyFile, readFile, writeFile, rm } from "node:fs/promises";
import { glob } from "glob";

/**
Expand Down
2 changes: 1 addition & 1 deletion test/typescript-validate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Agent } from "http";
import { Agent } from "node:http";

import { EndpointDefaults } from "@octokit/types";

Expand Down

0 comments on commit 37f0030

Please sign in to comment.