diff options
author | The Bundler Bot <bot@bundler.io> | 2018-02-20 12:29:08 +0000 |
---|---|---|
committer | The Bundler Bot <bot@bundler.io> | 2018-02-20 12:29:08 +0000 |
commit | 86e4b2a636fa2153bcd048dc084ace180cfe5c4a (patch) | |
tree | 523490cbd03793202a38b05cb9ac5bc536f7a295 | |
parent | 30f7b45e2414eb82e1dcc592a4dd5146438f4a63 (diff) | |
parent | c518c36319bd2dd281623283c026dca3216b02cd (diff) | |
download | bundler-86e4b2a636fa2153bcd048dc084ace180cfe5c4a.tar.gz |
Auto merge of #6300 - cpgo:remove-add-timestamp-comment, r=colby-swandale
Remove comment with timestamp on `bundle add`
As discussed on #6193 this PR simply removes the comment timestamp when adding a gem via command line.
-rw-r--r-- | lib/bundler/injector.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bundler/injector.rb b/lib/bundler/injector.rb index ea563e3d25..6f9669ae4f 100644 --- a/lib/bundler/injector.rb +++ b/lib/bundler/injector.rb @@ -84,9 +84,6 @@ module Bundler def append_to(gemfile_path, new_gem_lines) gemfile_path.open("a") do |f| f.puts - if @options["timestamp"] || @options["timestamp"].nil? - f.puts "# Added at #{Time.now} by #{`whoami`.chomp}:" - end f.puts new_gem_lines end end |