Skip to content

Commit a1f4b15

Browse files
author
Stéphane Duchesneau
committed
adjust requirements check: yarn 1.10 is well enough
1 parent 4310ef5 commit a1f4b15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ checks() {
9595
fi
9696

9797
if ! command -v yarn &> /dev/null; then
98-
echo "The 'yarn' command (version 1.12+) is required to build a version locally, install it following https://classic.yarnpkg.com/en/docs/install"
98+
echo "The 'yarn' command (version 1.10+) is required to build a version locally, install it following https://classic.yarnpkg.com/en/docs/install"
9999
found_error=true
100100
else
101-
if ! (yarn --version | grep -qE '1\.(1[3456789]|[2-9][0-9])'); then
101+
if ! (yarn --version | grep -qE '1\.(1[[0-9]|[2-9][0-9])'); then
102102
echo "Your 'yarn' version (`yarn --version`) is too low, requires Yarn 1.12+, if you think it's a mistake, use '-s' flag to skip checks"
103103
found_error=true
104104
fi

0 commit comments

Comments
 (0)