mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
14 lines
245 B
TypeScript
Executable File
14 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();
|