Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -177,6 +177,7 @@ def printable_cmd(args)
end

def shellescape(str)
return str unless str.is_a?(String)
if str.include?(' ')
if str.include?("'")
require 'shellwords'

0 comments on commit 8d967de

Please sign in to comment.