summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Mehren2021-04-22 18:56:52 +0200
committerDavid Mehren2021-04-22 22:52:53 +0200
commitd52a43e81110126e900fbeb46f2255c1375520ce (patch)
treecd516ca87eb3bdb05698564adb24843ee8da5e24 /bin
parent29e08cdb9fa421f5577d60359aaaa11627686efb (diff)
Fix version error wording in bin/setup
The previous error message stated that the version of Node or Yarn is "outdated", which might be accurate coincidentally, but is not what the script checks. This commit changes the wording to use "not supported", which is more accurate to the true check in the script. Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/setup b/bin/setup
index dc3c1cbf..1ab9c393 100755
--- a/bin/setup
+++ b/bin/setup
@@ -23,7 +23,7 @@ fi
if version_lt "$(yarn --version)" '1.22.0'; then
cat << EOF
-FATAL: Your Yarn version is outdated.
+FATAL: Your Yarn version is not supported.
Please upgrade to version 1.22.0 or higher and try again.
See https://classic.yarnpkg.com/en/docs/install for instructions.
@@ -33,7 +33,7 @@ fi
if version_lt "$(node --version)" 'v12.0.0'; then
cat << EOF
-FATAL: Your Node.js version is outdated.
+FATAL: Your Node.js version is not supported.
Please upgrade to version 12 or higher and try again.
We recommend running the latest LTS release, see https://nodejs.org/en/about/releases/ for details.