mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-24 16:40:21 +00:00
Meta: Fix regex version check in the lint-prettier script
If your local version is 3.2.0, this check would errantly pass.
This commit is contained in:
parent
f61a41d7a6
commit
deb5947fc0
Notes:
github-actions[bot]
2024-11-06 20:11:23 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/deb5947fc01 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2201
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if (( ${#files[@]} )); then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
if ! prettier --version | grep -qF '2.' ; then
|
||||
if ! prettier --version | grep -q '\b2\.' ; then
|
||||
echo "You are using '$(prettier --version)', which appears to not be prettier 2."
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue