Skip to content

Commit

Permalink
fix newlines in our Gemfile generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen committed Jan 16, 2013
1 parent 79da485 commit 3c3701f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hobo/lib/generators/hobo/plugin.rb
Expand Up @@ -9,7 +9,7 @@ def gem_with_comments(*args)

unless File.read("Gemfile") =~ /^gem ("|')#{name}/
if (comments = options.delete(:comments))
append_file "Gemfile", "#{comments}\n", :verbose => false
append_file "Gemfile", "#{comments}", :verbose => false
end

gem(args[0], args[1], options)
Expand Down

0 comments on commit 3c3701f

Please sign in to comment.