From a1f4b15a00a6d8c99fc8464717aaff8b0f74a2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Duchesneau?= Date: Thu, 27 Aug 2020 10:25:46 -0400 Subject: [PATCH] adjust requirements check: yarn 1.10 is well enough --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 039dbbac..4498d105 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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