Skip to content

Commit

Permalink
adjust requirements check: yarn 1.10 is well enough
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphane Duchesneau committed Aug 27, 2020
1 parent 4310ef5 commit a1f4b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ checks() {
fi

if ! command -v yarn &> /dev/null; then
echo "The 'yarn' command (version 1.12+) is required to build a version locally, install it following https://classic.yarnpkg.com/en/docs/install"
echo "The 'yarn' command (version 1.10+) is required to build a version locally, install it following https://classic.yarnpkg.com/en/docs/install"
found_error=true
else
if ! (yarn --version | grep -qE '1\.(1[3456789]|[2-9][0-9])'); then
if ! (yarn --version | grep -qE '1\.(1[[0-9]|[2-9][0-9])'); then
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"
found_error=true
fi
Expand Down

0 comments on commit a1f4b15

Please sign in to comment.