From db4531e3500045d6b302ec2f6df3112b7c594ee8 Mon Sep 17 00:00:00 2001 From: Fletcher Nichol Date: Thu, 1 Sep 2016 10:13:39 -0600 Subject: [PATCH] [ci/lint] Fix hard-coded rustfmt version in lint.sh. Signed-off-by: Fletcher Nichol --- support/ci/lint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/ci/lint.sh b/support/ci/lint.sh index 74b70be9e3..4f3e7d93a6 100755 --- a/support/ci/lint.sh +++ b/support/ci/lint.sh @@ -47,7 +47,7 @@ exit_with() { } program=$(basename $0) -rf_version="0.5.0" +rf_version="0.6.0" # Fix commit range in Travis, if set. # See: https://github.com/travis-ci/travis-ci/issues/4596 @@ -60,7 +60,7 @@ fi info "Checking for version $rf_version of rustfmt" actual="$(rustfmt --version | cut -d ' ' -f 1)" -if [[ "$actual" != "0.5.0" ]]; then +if [[ "$actual" != "$rf_version" ]]; then exit_with "\`rustfmt' version $actual doesn't match expected: $rf_version" 2 fi