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:
parent
1ebb1c2885
commit
633501ab08
@ -1060,7 +1060,6 @@ module Homebrew
|
|||||||
url_strategy = DownloadStrategyDetector.detect(url)
|
url_strategy = DownloadStrategyDetector.detect(url)
|
||||||
|
|
||||||
if using == :git || url_strategy == GitDownloadStrategy
|
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]
|
problem "Git should specify :revision when a :tag is specified." if specs[:tag] && !specs[:revision]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user