Skip to content

Commit

Permalink
Ignore leveldb directory and use that path in app.
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksm committed Sep 15, 2014
1 parent ddc6331 commit ba82a31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ build/Release
# Deployed apps should consider commenting this line out:
# see https://npmjs.org/doc/faq.html#Should-I-check-my-node_modules-folder-into-git
node_modules

leveldb
2 changes: 1 addition & 1 deletion db.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var levelup = require('levelup');
var db = levelup('./mydb');
var db = levelup('./leveldb');

exports.set = function(key, val, callback) {
var _callback = callback || function() {};
Expand Down

0 comments on commit ba82a31

Please sign in to comment.