Update v2.3 blog post (#11002)

Co-authored-by: fisker Cheung <lionkay@gmail.com>
This commit is contained in:
Aliaksandrandfisker Cheung authored and GitHub committed 2021-06-02 19:23:12 +08:00
1 parent ddcfdd47f3
commit 1d69549452
1 file changed
+3 -3
+3 -3
View File
@@ -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
```