Add please-upgrade-node back to CLI (#12448)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-04-03 00:04:45 +08:00
1 parent 3c0ab7ce10
commit 3cbee742a7
6 files changed
+60 -38

No files matched your search

+3 -2
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env node
import * as cli from "../src/cli/index.js";
// Add this file so we can use `node bin/prettier` or `node bin/prettier.js`
// instead of `node bin/prettier.cjs`.
export const promise = cli.run(process.argv.slice(2));
import "./prettier.cjs";