fix readPath is not defined

This commit is contained in:
2017-08-02 13:16:07 +02:00
parent 42c6c1eec5
commit 64219f8f09
2 changed files with 2 additions and 2 deletions

View File

@ -228,7 +228,7 @@ export let fileTreeToObject = async (dirPathArg: string, miniMatchFilter: string
if (!plugins.path.isAbsolute(filePath)) {
return plugins.path.join(dirPath, filePath)
} else {
return readPath
return filePath
}
})()
let fileContentString = toStringSync(readPath)