Skip to content

Commit

Permalink
Merge pull request #1206 from habitat-sh/fnichol/rustfmt-lint-check
Browse files Browse the repository at this point in the history
[ci/lint] Fix hard-coded rustfmt version in lint.sh.
  • Loading branch information
fnichol authored Sep 1, 2016
2 parents 6687d6b + db4531e commit d53cdcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/ci/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit d53cdcf

Please sign in to comment.