Bugfix in ensureDirExists

pull/2/head
Louis Chatriot 12 years ago
parent 3b4dbc3220
commit d189b9aafb
  1. 2
      lib/customUtils.js
  2. 2
      package.json

@ -13,7 +13,7 @@ function ensureDirectoryExists (dir, cb) {
var callback = cb || function () {} var callback = cb || function () {}
; ;
childProcess.exec('mkdir -p ' + dir, function (err) { return callback(err); }); childProcess.exec('mkdir -p ' + dir.replace(/ /g, '\\ '), function (err) { return callback(err); });
} }

@ -1,6 +1,6 @@
{ {
"name": "nedb", "name": "nedb",
"version": "0.0.6", "version": "0.0.7",
"author": { "author": {
"name": "tldr.io", "name": "tldr.io",
"email": "hello@tldr.io" "email": "hello@tldr.io"

Loading…
Cancel
Save