We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afbc03c + d783334 commit b3156e2Copy full SHA for b3156e2
lib/libreconv.rb
@@ -83,7 +83,7 @@ def convert
83
*command,
84
unsetenv_others: true
85
)
86
- unless status.success? && error == ''
+ if !status.success?
87
raise ConversionFailedError,
88
"Conversion failed! Output: #{output.strip.inspect}, " \
89
"Error: #{error.strip.inspect}"
0 commit comments