Skip to content

Commit 63065ac

Browse files
committed
Turns out command isn't the cross-platform way
1 parent 556be0c commit 63065ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html_report.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get_url_for_browser(file_path, mode)
128128
end
129129

130130
def command_exists(command)
131-
`command -v #{command}`
131+
`which -s #{command}`
132132
$CHILD_STATUS.success?
133133
end
134134

0 commit comments

Comments
 (0)