diff options
author | wycats <wycats@gmail.com> | 2010-07-24 15:05:27 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-24 15:06:05 -0700 |
commit | 01d8067ad8b2d899c537438c213a7122fae27dd4 (patch) | |
tree | f284113c91f44907e861f60ac13c3b45a0fb7b23 | |
parent | da1ba6311ac92200e96cfb561dc4b77ac9e7d478 (diff) | |
download | bundler-01d8067ad8b2d899c537438c213a7122fae27dd4.tar.gz |
Update bundled thor
-rw-r--r-- | lib/bundler/vendor/thor/shell/basic.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bundler/vendor/thor/shell/basic.rb b/lib/bundler/vendor/thor/shell/basic.rb index 85d8a1d408..39249ffcf6 100644 --- a/lib/bundler/vendor/thor/shell/basic.rb +++ b/lib/bundler/vendor/thor/shell/basic.rb @@ -38,10 +38,12 @@ class Thor message = message.to_s message = set_color(message, color) if color + spaces = " " * padding + if force_new_line - $stdout.puts(message) + $stdout.puts(spaces + message) else - $stdout.print(message) + $stdout.print(spaces + message) end $stdout.flush end |