diff options
| author | Mike McQuaid | 2017-09-24 20:12:58 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-09-24 21:23:59 +0100 |
| commit | cf5fdeef1d8e9fd053121145882835b87eec2a43 (patch) | |
| tree | 1b116e75a955f10925619f11db947f0917a55bf9 /Library/Homebrew/dev-cmd/pull.rb | |
| parent | 01e9ec9a9f723b2ef89c7adfaea39f9e4db9aede (diff) | |
| download | brew-cf5fdeef1d8e9fd053121145882835b87eec2a43.tar.bz2 | |
Rubocop: manual rule fixes.
Diffstat (limited to 'Library/Homebrew/dev-cmd/pull.rb')
| -rw-r--r-- | Library/Homebrew/dev-cmd/pull.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/pull.rb b/Library/Homebrew/dev-cmd/pull.rb index 931cba07f..cd0d6fbd0 100644 --- a/Library/Homebrew/dev-cmd/pull.rb +++ b/Library/Homebrew/dev-cmd/pull.rb @@ -69,7 +69,7 @@ module Homebrew tap = nil ARGV.named.each do |arg| - if arg.to_i > 0 + if arg.to_i.positive? issue = arg url = "https://github.com/Homebrew/homebrew-core/pull/#{arg}" tap = CoreTap.instance |
