From 74ba8cc2df7d80a56f7bda6565082c57879e3a99 Mon Sep 17 00:00:00 2001
From: Sean Molenaar <SMillerDev@users.noreply.github.com>
Date: Wed, 2 Sep 2020 19:13:46 +0200
Subject: [PATCH] Style fix in cask audit

Co-authored-by: Markus Reiter <me@reitermark.us>
---
 Library/Homebrew/cask/audit.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Library/Homebrew/cask/audit.rb b/Library/Homebrew/cask/audit.rb
index b0b8b115a8..ae7463fb24 100644
--- a/Library/Homebrew/cask/audit.rb
+++ b/Library/Homebrew/cask/audit.rb
@@ -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?
-- 
GitLab