configure error message

This commit is contained in:
Florian Dold 2017-05-23 13:16:41 +02:00
parent de98e0b232
commit 4e768c31fa
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

4
configure vendored
View File

@ -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