summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Mehren2021-04-22 18:46:01 +0200
committerDavid Mehren2021-04-22 22:52:38 +0200
commite1df30bd5c46ec8d99d5758df748f035ec93b44b (patch)
treed1a6ec80b6aeac40d511ae72a62d1a7682f5197f /bin
parent5cef3d4ac7cc4a40e7c7c6d8f6cc4db1cf9f53ef (diff)
Raise minimum required Node.js version to 12
As Node 10 will be EOL at April 30th, we should stop supporting and/or promoting the usage of that version. See also https://endoflife.date/nodejs 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 43df07ff..dc3c1cbf 100755
--- a/bin/setup
+++ b/bin/setup
@@ -31,11 +31,11 @@ EOF
exit 1
fi
-if version_lt "$(node --version)" 'v10.13.0'; then
+if version_lt "$(node --version)" 'v12.0.0'; then
cat << EOF
FATAL: Your Node.js version is outdated.
-Please upgrade to version 10.13 or higher and try again.
+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.
EOF
exit 1