lib/apkstats/command/apk_analyzer.rb in danger-apkstats-0.0.1 vs lib/apkstats/command/apk_analyzer.rb in danger-apkstats-0.0.2
- old
+ new
@@ -4,10 +4,10 @@
def compare_with(apk_filepath, other_apk_filepath)
out, err = run_command('apk', 'compare', '--different-only', apk_filepath, other_apk_filepath)
if out
- return out.partition("\n").first, nil
+ return out.partition("\n").first.strip, nil
else
return nil, err
end
end
\ No newline at end of file