brew style --fix

This commit is contained in:
Mike McQuaid 2021-05-18 11:58:44 +01:00
parent 847d7a233d
commit 2ce6cd5e81
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
2 changed files with 2 additions and 2 deletions

View File

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

View File

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