Skip to content

Commit 28ab98e

Browse files
authored
Merge pull request #41 from r7kamura/revert-38-node-undici-workaround
Revert "Remove workaround about undici"
2 parents 6f231b4 + 92d88c2 commit 28ab98e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/github.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
import { github } from "./deps.ts";
2+
import { performance } from "node:perf_hooks";
3+
4+
// Workaround for deno compatibility issue on undici:
5+
// deno-lint-ignore no-explicit-any
6+
(globalThis as any).performance = performance;
27

38
export function generateNotes({
49
githubToken,

0 commit comments

Comments
 (0)