Permalink
Browse files

fixed update-index.rb

  • Loading branch information...
1 parent ed15bac commit d7ef310c1521f3cf689d9e7623170e355f5b4bf3 @frsyuki frsyuki committed Jul 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 update-index.rb
View
@@ -91,7 +91,7 @@ def tweak_quickstart_html(html)
html = ERB.new(File.read("#{here}/index.html.erb")).result
-orig = File.read("#{here}/index.html")
+orig = File.read("#{here}/index.html") rescue nil
if orig != html
File.open("#{here}/index.html", 'w') {|f| f.write html }

0 comments on commit d7ef310

Please sign in to comment.