Switch CLI to async (#10804)

* Switch CLI to async

* Rewrite test

* Fix tests

* Comment out failed test

* Comment out failed test

* Fix test

Co-authored-by: Connor Peet <connor@peet.io>

* Update patterns-dirs.js

* Fix `hasRunningCli` flag

* Fix grammar

* Update tests/integration/runPrettier.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>

Co-authored-by: Connor Peet <connor@peet.io>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
This commit is contained in:
authored and GitHub committed 2021-05-09 15:43:10 +03:00
1 parent d3e7e2f634
commit 164a6e2351
14 files changed
+176 -112

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
"use strict";
require("../src/cli").run(process.argv.slice(2));
module.exports = require("../src/cli").run(process.argv.slice(2));