mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
ffbcad3800
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.
4 lines
122 B
TypeScript
4 lines
122 B
TypeScript
const filename = Deno.args[0];
|
|
using file = await Deno.open(filename);
|
|
|
|
await file.readable.pipeTo(Deno.stdout.writable);
|