Don’t split lines where not needed
This commit is contained in:
parent
77bab64a12
commit
2b75e3b608
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class FormatStaged
|
|||
|
||||
def run
|
||||
verbose_info "Finding repository root"
|
||||
root = get_output('git', 'rev-parse', '--show-toplevel').first
|
||||
root = get_output('git', 'rev-parse', '--show-toplevel', lines: false).chomp
|
||||
verbose_info "Repo at #{root}"
|
||||
|
||||
verbose_info "Listing staged files"
|
||||
|
|
Loading…
Add table
Reference in a new issue