Skip to content
Snippets Groups Projects
Unverified Commit 0a057735 authored by Maxim Belkin's avatar Maxim Belkin Committed by GitHub
Browse files

Merge pull request #8785 from maxim-belkin/cask-audit-cleanup

cask/audit.rb: minor cleanup
parents 187b5630 0d3cc7cd
No related branches found
No related tags found
No related merge requests found
......@@ -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?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment