From 873edeeae1b3684b4182d5f1522032ed74716064 Mon Sep 17 00:00:00 2001 From: James Couball Date: Wed, 22 Jan 2020 13:31:54 -0800 Subject: [PATCH] Removed blank after method name to fix warning This change fixes the warning: Users/USER/rvm/gems/ruby-2.7.0-rc1@ruby2.7-no-rails/gems/git-1.5.0/lib/git/branch.rb:40: warning: parentheses after method name is interpreted as an argument list, not a decomposed argument This fix was originally proposed by @jasnow Signed-off-by: James Couball --- lib/git/branch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/branch.rb b/lib/git/branch.rb index 17573af6..c38c9d4a 100644 --- a/lib/git/branch.rb +++ b/lib/git/branch.rb @@ -37,7 +37,7 @@ def archive(file, opts = {}) # # do other stuff # return true # auto commits and switches back # end - def in_branch (message = 'in branch work') + def in_branch(message = 'in branch work') old_current = @base.lib.branch_current checkout if yield