Skip to content

Commit

Permalink
changed 'if #{editor}' to 'if editor' -- no change in functionality, …
Browse files Browse the repository at this point in the history
…just cleaner
  • Loading branch information
tomhoover committed Feb 1, 2012
1 parent 1c35cd2 commit d9787fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ task :new_post, :title do |t, args|
post.puts "published: false"
post.puts "---"
end
if #{editor}
if editor
system "#{editor} #{filename}"
end
end
Expand Down

0 comments on commit d9787fa

Please sign in to comment.