From 1d6954945246a5f315b794ac463c7340d5349d47 Mon Sep 17 00:00:00 2001 From: Aliaksandr Date: Wed, 2 Jun 2021 14:23:12 +0300 Subject: [PATCH] Update v2.3 blog post (#11002) Co-authored-by: fisker Cheung --- website/blog/2021-05-09-2.3.0.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/blog/2021-05-09-2.3.0.md b/website/blog/2021-05-09-2.3.0.md index 96782c37a71f..b2494ae1ef1c 100644 --- a/website/blog/2021-05-09-2.3.0.md +++ b/website/blog/2021-05-09-2.3.0.md @@ -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. -```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 ```