Able to load and understand a database

pull/2/head
Louis Chatriot 12 years ago
parent 1c04a3874c
commit 4ee4744312
  1. 2
      lib/customUtils.js

@ -26,7 +26,7 @@ function ensureDirectoryExists (dir, cb) {
function uid (len) { function uid (len) {
return crypto.randomBytes(Math.ceil(len * 3 / 4)) return crypto.randomBytes(Math.ceil(len * 3 / 4))
.toString('base64') .toString('base64')
.slice(0, len); //.slice(0, len);
} }
console.log(uid(5)); console.log(uid(5));

Loading…
Cancel
Save