Navigation Menu

Skip to content

Commit

Permalink
Fix version updating
Browse files Browse the repository at this point in the history
  • Loading branch information
stouset committed May 2, 2011
1 parent 2951cbf commit 714cd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rake/version_task.rb
Expand Up @@ -117,7 +117,7 @@ def read
# Writes out +version+ to the file at +filename+ with the correct format.
#
def write(version)
return if version != read
return if version == read

path.open('w') do |io|
io << case filetype.to_s
Expand Down

0 comments on commit 714cd8c

Please sign in to comment.