Skip to content

Commit 4e46fb8

Browse files
committed
Fix string comparison
1 parent 657ab86 commit 4e46fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ then
88
phpunit
99
fi
1010

11-
if [ $WP_VERSION -eq "latest" ]; then
11+
if [ $WP_VERSION = "latest" ]; then
1212
WP_VERSION=$(curl -s https://api.wordpress.org/core/version-check/1.7/ | jq -r ".offers[0].current")
1313
fi
1414

0 commit comments

Comments
 (0)