We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f615de commit 4e8c705Copy full SHA for 4e8c705
scripts/datasheet-rendering/render-datasheets.sh
@@ -1,7 +1,6 @@
1
#!/bin/bash
2
3
-# RENDER_DATASHEETS is set to true by CI
4
-if [ -n "$RENDER_DATASHEETS" ]; then
+if [ -n "$CI" ]; then
5
echo "Current system:"
6
uname -a
7
# Fix for SSL problem in phantom.js
@@ -37,7 +36,7 @@ fi
37
36
VERSION=`node -v | grep -o 'v\d*'| cut -d "v" -f2`
38
MIN_VERSION=14
39
40
-if [ $VERSION -lt $MIN_VERSION ]; then
+if [ "$VERSION" -lt $MIN_VERSION ]; then
41
echo "You're using an old version of Node.js ($VERSION). Please update to $MIN_VERSION or newer."
42
exit -1
43
fi
0 commit comments