Skip to content

Commit 0918891

Browse files
committed
monkey-path writeAll because of puppeteer
1 parent c0e067c commit 0918891

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/core/deno/monkey-patch.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import { debug } from "../../deno_ral/log.ts";
88
import { normalizePath } from "../path.ts";
99
import { copy } from "io/copy";
10+
import { writeAll } from "io/write-all";
1011

1112
// Windows UNC paths can be mishandled by realPathSync
1213
// (see https://github.com/quarto-dev/quarto-vscode/issues/67)
@@ -19,6 +20,8 @@ Deno.realPathSync = normalizePath;
1920
//
2021
// deno-lint-ignore no-explicit-any
2122
(Deno as any).copy = copy;
23+
// deno-lint-ignore no-explicit-any
24+
(Deno as any).writeAll = writeAll;
2225

2326
// 2023-02-14: We're seeing a rare failure in Deno.makeTempFile{,Sync} with FileExists, so we're going to try
2427
// a few times to create the file. If it fails, we'll log the error and try again.

0 commit comments

Comments
 (0)