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.
2 parents fcc1f29 + a1ed2f8 commit 0d98561Copy full SHA for 0d98561
bin/run-behat-tests
@@ -6,7 +6,7 @@ if [ ! -d "features" ]; then
6
fi
7
8
# Turn WP_VERSION into an actual number to make sure our tags work correctly.
9
-if [ $WP_VERSION = "latest" ]; then
+if [ "${WP_VERSION-latest}" = "latest" ]; then
10
export WP_VERSION=$(curl -s https://api.wordpress.org/core/version-check/1.7/ | jq -r ".offers[0].current")
11
12
0 commit comments