Skip to content

Commit

Permalink
Merge pull request #111 from prettier/main
Browse files Browse the repository at this point in the history
Update v2.3 blog post (prettier#11002)
  • Loading branch information
sakibguy committed Jun 2, 2021
2 parents 554be9e + 1d69549 commit 38663bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/blog/2021-05-09-2.3.0.md
Expand Up @@ -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
```

0 comments on commit 38663bb

Please sign in to comment.