From cd9bdd5d106a52da5b6358ec713c45f11c2765cc Mon Sep 17 00:00:00 2001 From: Konstantin Raev Date: Wed, 26 Apr 2017 17:17:19 +0100 Subject: [PATCH] fixed unary line 16: [: : integer expression expected (#3260) --- bin/yarn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/yarn b/bin/yarn index 4c71f7083c..727c23f8eb 100755 --- a/bin/yarn +++ b/bin/yarn @@ -12,7 +12,7 @@ command_exists() { } if command_exists node; then - if [ "$YARN_FORCE_WINPTY" -eq 1 ]; then + if [[ "$YARN_FORCE_WINPTY" -eq 1 ]]; then winpty node "$basedir/yarn.js" "$@" else node "$basedir/yarn.js" "$@"