From 2ce6cd5e81fa0b16f65f6498b0171f049a500256 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 18 May 2021 11:58:44 +0100 Subject: [PATCH] brew style --fix --- Library/Homebrew/cask/installer.rb | 2 +- Library/Homebrew/download_strategy.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/cask/installer.rb b/Library/Homebrew/cask/installer.rb index 7f61828f58..e6241fb3ea 100644 --- a/Library/Homebrew/cask/installer.rb +++ b/Library/Homebrew/cask/installer.rb @@ -167,7 +167,7 @@ module Cask sig { params(quiet: T.nilable(T::Boolean), timeout: T.nilable(T.any(Integer, Float))).returns(Pathname) } def download(quiet: nil, timeout: nil) @download ||= downloader.fetch(quiet: quiet, verify_download_integrity: @verify_download_integrity, -timeout: timeout) + timeout: timeout) end def verify_has_sha diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 92c8faff31..d0c755ed57 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -714,7 +714,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy sig { 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) # Use "svn update" when the repository already exists locally.