mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00: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.
5 lines
122 B
TypeScript
5 lines
122 B
TypeScript
const filename = Deno.args[0];
|
|
using file = await Deno.open(filename);
|
|
|
|
await file.readable.pipeTo(Deno.stdout.writable);
|