brew style --fix
This commit is contained in:
parent
847d7a233d
commit
2ce6cd5e81
@ -167,7 +167,7 @@ module Cask
|
|||||||
sig { params(quiet: T.nilable(T::Boolean), timeout: T.nilable(T.any(Integer, Float))).returns(Pathname) }
|
sig { params(quiet: T.nilable(T::Boolean), timeout: T.nilable(T.any(Integer, Float))).returns(Pathname) }
|
||||||
def download(quiet: nil, timeout: nil)
|
def download(quiet: nil, timeout: nil)
|
||||||
@download ||= downloader.fetch(quiet: quiet, verify_download_integrity: @verify_download_integrity,
|
@download ||= downloader.fetch(quiet: quiet, verify_download_integrity: @verify_download_integrity,
|
||||||
timeout: timeout)
|
timeout: timeout)
|
||||||
end
|
end
|
||||||
|
|
||||||
def verify_has_sha
|
def verify_has_sha
|
||||||
|
|||||||
@ -714,7 +714,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
|
|||||||
|
|
||||||
sig {
|
sig {
|
||||||
params(target: Pathname, url: String, revision: T.nilable(String), ignore_externals: T::Boolean,
|
params(target: Pathname, url: String, revision: T.nilable(String), ignore_externals: T::Boolean,
|
||||||
timeout: T.nilable(Time)).void
|
timeout: T.nilable(Time)).void
|
||||||
}
|
}
|
||||||
def fetch_repo(target, url, revision = nil, ignore_externals: false, timeout: nil)
|
def fetch_repo(target, url, revision = nil, ignore_externals: false, timeout: nil)
|
||||||
# Use "svn update" when the repository already exists locally.
|
# Use "svn update" when the repository already exists locally.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user