Skip to content

Commit

Permalink
fix(runtime): add missing import (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar authored Jul 13, 2022
1 parent 6082c1d commit 3e52bfb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/runtime/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type {
WritableStreamFromWriterOptions as IOWritableStreamFromWriterOptions,
} from "https://deno.land/std@0.140.0/io/mod.ts";
export * as streams from "https://deno.land/std@0.140.0/streams/mod.ts";
export { writeAll } from "https://deno.land/std@0.140.0/streams/mod.ts";
export type {
ReadableStreamFromReaderOptions,
WritableStreamFromWriterOptions,
Expand Down
4 changes: 2 additions & 2 deletions src/runtime/process.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Deferred, deferred } from "./deps.ts";
import { Deferred, deferred, writeAll } from "./deps.ts";
import { readLines } from "./lib/readline.ts";
import { ProcessError } from "./process_error.ts";
import { ProcessOutput } from "./process_output.ts";
Expand Down Expand Up @@ -262,7 +262,7 @@ async function read(
result.push(line + "\n");
}
if ($.verbose > 1) {
await io.writeAll(
await writeAll(
outputStream,
new TextEncoder().encode(line + "\n"),
);
Expand Down

0 comments on commit 3e52bfb

Please sign in to comment.