Skip to content

Commit

Permalink
Fix ArgumentError when printing http error
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Apr 19, 2015
1 parent 6443795 commit 898a7d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: erlang
otp_release:
- 17.0
- 17.3
- 17.4
sudo: false
addons:
Expand All @@ -17,7 +16,7 @@ script:
- mix test --include integration
env:
matrix:
- ELIXIRVERSION=v1.0.0
- ELIXIRVERSION=v1.0.4
- ELIXIRVERSION=master
notifications:
recipients:
Expand Down
2 changes: 1 addition & 1 deletion lib/hex/util.ex
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ defmodule Hex.Util do
pretty_errors(errors)
end

unless message or errors do
unless message || errors do
print_http_code(status)
Mix.shell.info(body)
end
Expand Down

0 comments on commit 898a7d7

Please sign in to comment.