aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-23 13:16:41 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-23 13:16:41 +0200
commit4e768c31fa01cb2cfaa27d1ce5f62a88e9ce598d (patch)
tree855c2a81214373fc61d36fcc0fdbc429b51ddf9e
parentde98e0b232509d5f40c135d540a70e415272ff85 (diff)
configure error message
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index bae3b1b9a..472d33797 100755
--- a/configure
+++ b/configure
@@ -16,8 +16,8 @@ if ! node -p 'process.exit(!(/v([0-9]+)/.exec(process.version)[1] >= 4))'; then
exit 1
fi
-if ! yarn --version >/dev/null; then
- echo 'yarn missing'
+if ! yarn --version &>/dev/null; then
+ echo 'error: yarn missing'
exit 1
fi