Update v2.3 blog post (#11002)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
1 parent
ddcfdd47f3
commit
1d69549452
1 file changed
+3
-3
@@ -1843,12 +1843,12 @@ All matched files use Prettier code style!
|
||||
Directories whose names happened to coincide with the properties of `Object.prototype` were ignored by Prettier CLI because of a classic bug (introduced in Prettier 2.0.0) with object properties not being checked for being own.
|
||||
|
||||
<!-- prettier-ignore -->
|
||||
```sh
|
||||
```console
|
||||
# Prettier 2.2
|
||||
$ prettier 'js/constructor/*.js' --write
|
||||
$ prettier "js/constructor/*.js" --write
|
||||
[error] No matching files. Patterns: js/constructor/*.js
|
||||
|
||||
# Prettier 2.3
|
||||
prettier 'js/constructor/*.js' --write
|
||||
$ prettier "js/constructor/*.js" --write
|
||||
js/constructor/test.js 42ms
|
||||
```
|
||||
Reference in new issue
Block a user