Style fix in cask audit

Co-authored-by: Markus Reiter <me@reitermark.us>
This commit is contained in:
Sean Molenaar 2020-09-02 19:13:46 +02:00 committed by GitHub
parent 0279dda595
commit 74ba8cc2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -515,7 +515,7 @@ module Cask
end
def check_gitlab_repository
return unless @new_cask
return unless new_cask?
user, repo = get_repo_data(%r{https?://gitlab\.com/([^/]+)/([^/]+)/?.*})
return if user.nil?