audit: remove incorrect TODO.

This check can't really be in RuboCop (as it relies on the URL strategy
logic).
This commit is contained in:
Mike McQuaid 2020-05-20 08:17:14 +01:00
parent 1ebb1c2885
commit 633501ab08
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -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