Skip to content

Commit

Permalink
argh fixed up syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
nathannorton committed Apr 18, 2012
1 parent 6576cd5 commit 76beab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database.rb
Expand Up @@ -66,7 +66,7 @@ def self.contains?( path )

def self.check_in_pub?( path, hash )
@collection.find( "path" => path ).each do |row|
if hash.to_s.eql? row["hash]".to_s
if hash.to_s.eql? row["hash"].to_s
return true
end
end
Expand Down

0 comments on commit 76beab7

Please sign in to comment.