diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-05-02 11:56:17 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-05-02 11:56:17 -0700 |
commit | e9e897f1f661963599f65a93c55bd0a1d8fe1fa7 (patch) | |
tree | af0353c1780d8f52a569b2b21ab6085341a33874 | |
parent | d386ed1b342711fb3d307a7ca640cafc64b3be85 (diff) | |
download | bundler-seg-error-report-command.tar.gz |
[ErrorReport] Print the command that was runseg-error-report-command
-rw-r--r-- | lib/bundler/friendly_errors.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler/friendly_errors.rb b/lib/bundler/friendly_errors.rb index 2f24fc179e..0267a4b61e 100644 --- a/lib/bundler/friendly_errors.rb +++ b/lib/bundler/friendly_errors.rb @@ -45,6 +45,10 @@ module Bundler def self.request_issue_report_for(e) Bundler.ui.info <<-EOS.gsub(/^ {6}/, '') #{'――― ERROR REPORT TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――'} + Command + + #{$PROGRAM_NAME} #{ARGV.join(' ')} + - What did you do? - What did you expect to happen? - What happened instead? |