deno/tests/testdata/cat.ts
David Sherret ffbcad3800
feat(lint): deno lint --fix and lsp quick fixes (#22615)
Adds a `--fix` option to deno lint. This currently doesn't work for
basically any rules, but we can add them over time to deno lint.
2024-03-21 14:18:59 -07:00

5 lines
122 B
TypeScript

const filename = Deno.args[0];
using file = await Deno.open(filename);
await file.readable.pipeTo(Deno.stdout.writable);