From 633501ab089f3c18fea0406f5324a9ebbec55be2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 20 May 2020 08:17:14 +0100 Subject: [PATCH] audit: remove incorrect TODO. This check can't really be in RuboCop (as it relies on the URL strategy logic). --- Library/Homebrew/dev-cmd/audit.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index 33c157f6ee..678e50e3fe 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -1060,7 +1060,6 @@ module Homebrew url_strategy = DownloadStrategyDetector.detect(url) if using == :git || url_strategy == GitDownloadStrategy - # TODO: check could be in RuboCop problem "Git should specify :revision when a :tag is specified." if specs[:tag] && !specs[:revision] end