Merge pull request #8785 from maxim-belkin/cask-audit-cleanup
cask/audit.rb: minor cleanup
This commit is contained in:
commit
0a0577357f
@ -507,7 +507,7 @@ module Cask
|
||||
end
|
||||
|
||||
def check_github_repository
|
||||
return unless @new_cask
|
||||
return unless new_cask?
|
||||
|
||||
user, repo = get_repo_data(%r{https?://github\.com/([^/]+)/([^/]+)/?.*})
|
||||
return if user.nil?
|
||||
@ -531,7 +531,7 @@ module Cask
|
||||
end
|
||||
|
||||
def check_bitbucket_repository
|
||||
return unless @new_cask
|
||||
return unless new_cask?
|
||||
|
||||
user, repo = get_repo_data(%r{https?://bitbucket\.org/([^/]+)/([^/]+)/?.*})
|
||||
return if user.nil?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user