We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1448959 commit 317998aCopy full SHA for 317998a
tools/dep_updaters/update-v8-patch.sh
@@ -9,9 +9,9 @@ BASE_DIR=$(cd "$(dirname "$0")/../.." && pwd)
9
10
cd "$BASE_DIR"
11
12
-IS_UP_TO_DATE=$(git node v8 minor | grep "V8 is up-to-date")
+CAN_UPDATE=$(git node v8 minor | grep -q "V8 is up-to-date" || echo "1")
13
14
-if [ -n "$IS_UP_TO_DATE" ]; then
+if [ -z "$CAN_UPDATE" ]; then
15
echo "Skipped because V8 is on the latest version."
16
exit 0
17
fi
0 commit comments