do or do not

This commit is contained in:
rick
2010-12-08 13:35:16 -08:00
parent d4da0f8670
commit 54eca090ee
+1 -1
View File
@@ -245,7 +245,7 @@ module Gollum
# Returns the String SHA1 of the newly written version.
def delete_page(page, commit)
index = nil
sha1 = commit_index(commit) |idx|
sha1 = commit_index(commit) do |idx|
index = idx
index.delete(page.path)
end