Don’t split lines where not needed

This commit is contained in:
Sven Weidauer 2022-05-29 09:29:08 +02:00
parent 77bab64a12
commit 2b75e3b608

View file

@ -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"