Skip to content

Commit e44c18e

Browse files
authored
Removed blank after method name to fix warning (#439)
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 <jcouball@yahoo.com>
1 parent e40e074 commit e44c18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/branch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def archive(file, opts = {})
3737
# # do other stuff
3838
# return true # auto commits and switches back
3939
# end
40-
def in_branch (message = 'in branch work')
40+
def in_branch(message = 'in branch work')
4141
old_current = @base.lib.branch_current
4242
checkout
4343
if yield

0 commit comments

Comments
 (0)