Skip to content

Commit 9bda5da

Browse files
committed
Fix the failed command output
1 parent a76593e commit 9bda5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sqldef.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def download(command)
105105

106106
def execute(*cmd, **opts)
107107
unless system(*cmd, **opts)
108-
raise "Failed to execute '#{cmd.first}'"
108+
raise "Failed to execute '#{cmd.first.is_a?(Hash) ? cmd[1] : cmd.first}'"
109109
end
110110
end
111111

0 commit comments

Comments
 (0)