Commit 84377e53 authored by Josh's avatar Josh
Browse files

...

parent 37cf5885
let fs = require("fs")
let path = require("path")
let cwd = process.cwd()
let os = require("os")
fs.mkdirSyncRecursive = function(pathToMake){
let parts = pathToMake.split("/")
......@@ -37,6 +37,7 @@ fs.rmdirSyncRecursive = function(pathToRemove){
function FileDB(relativePath, options){
let self = this
if (relativePath[0] === "~") relativePath = path.join(os.homedir(), relativePath.substring(1, relativePath.length))
let dbPath = path.resolve(relativePath)
options = options || {}
options.ignore = options.ignore || []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment