mirror of
https://github.com/denoland/deno.git
synced 2024-10-30 09:08:00 -04:00
e249378fdf
Original: 85ff88b0cc
13 lines
245 B
TypeScript
Executable file
13 lines
245 B
TypeScript
Executable file
#!/usr/bin/env deno --allow-run
|
|
|
|
import { exit, run } from "deno";
|
|
|
|
async function main() {
|
|
const prettier = run({
|
|
args: ["bash", "-c", "prettier --write *.ts **/*.ts"]
|
|
});
|
|
const s = await prettier.status();
|
|
exit(s.code);
|
|
}
|
|
|
|
main();
|