[rubygems/rubygems] [rebuild] If --diff is not passed and a rebuild fails, suggest passing --diff.
https://github.com/rubygems/rubygems/commit/7caadd182c
This commit is contained in:
parent
dfe83df03e
commit
54d90e1355
@ -154,6 +154,9 @@ Please install RubyGems v#{rg_version} and try again.
|
|||||||
if system("diffoscope", old_file, new_file).nil?
|
if system("diffoscope", old_file, new_file).nil?
|
||||||
alert_error "error: could not find `diffoscope` executable"
|
alert_error "error: could not find `diffoscope` executable"
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
say
|
||||||
|
say "Pass --diff for more details (requires diffoscope to be installed)."
|
||||||
end
|
end
|
||||||
|
|
||||||
terminate_interaction 1
|
terminate_interaction 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user