From 43d53a67b772a4a08748dc58e4b23f51b78fbd59 Mon Sep 17 00:00:00 2001 From: feu Date: Sun, 29 Jul 2018 20:54:13 -0300 Subject: [PATCH] just adjusting spaces --- Library/Homebrew/download_strategy.rb | 6 +++--- Library/Homebrew/unpack_strategy/subversion.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 0746387922..e0c21e273b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -554,19 +554,19 @@ class SubversionDownloadStrategy < VCSDownloadStrategy end def source_modified_time - info = system_command("svn", args:["info", "--xml"], chdir: cached_location.to_s).stdout + info = system_command("svn", args: ["info", "--xml"], chdir: cached_location.to_s).stdout xml = REXML::Document.new(info) Time.parse REXML::XPath.first(xml, "//date/text()").to_s end def last_commit - system_command("svn", args:["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip + system_command("svn", args: ["info", "--show-item", "revision"], chdir: cached_location.to_s).stdout.strip end private def repo_url - system_command("svn", args:["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1] + system_command("svn", args: ["info"], chdir: cached_location.to_s).stdout.strip[/^URL: (.+)$/, 1] end def externals diff --git a/Library/Homebrew/unpack_strategy/subversion.rb b/Library/Homebrew/unpack_strategy/subversion.rb index f3e69b0c24..064baf921a 100644 --- a/Library/Homebrew/unpack_strategy/subversion.rb +++ b/Library/Homebrew/unpack_strategy/subversion.rb @@ -9,7 +9,7 @@ module UnpackStrategy private def extract_to_dir(unpack_dir, basename:, verbose:) - system_command! "svn", + system_command! "svn", args: ["export", "--force", ".", unpack_dir], chdir: path.to_s end