Skip to content

Commit

Permalink
Newlines not necessary with join in #update File.write as File.readli…
Browse files Browse the repository at this point in the history
…nes preserves them anyway.
  • Loading branch information
Kelsey Judson committed Jun 10, 2012
1 parent d9677c0 commit 526ceaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dotfile/dotfile_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def name

def update
mkdir_p(@destination_path)
File.write(@destination, @content.join("\n"))
File.write(@destination, @content.join)
end

end
Expand Down
2 changes: 1 addition & 1 deletion lib/dotfile/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Dotfile

VERSION = '0.1.6'
VERSION = '0.1.7'

end

0 comments on commit 526ceaf

Please sign in to comment.