fix smartfile.fs.fileTreeToObject
This commit is contained in:
parent
dda4c1af07
commit
675934d049
4
dist/smartfile.fs.js
vendored
4
dist/smartfile.fs.js
vendored
File diff suppressed because one or more lines are too long
@ -214,7 +214,9 @@ export let fileTreeToObject = async (dirPathArg: string, miniMatchFilter: string
|
|||||||
for (let filePath of fileTree) {
|
for (let filePath of fileTree) {
|
||||||
smartfileArray.push(new Smartfile({
|
smartfileArray.push(new Smartfile({
|
||||||
path: filePath,
|
path: filePath,
|
||||||
contentBuffer: new Buffer(toStringSync(filePath))
|
contentBuffer: new Buffer(toStringSync(
|
||||||
|
plugins.path.join(dirPathArg, filePath)
|
||||||
|
))
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
return smartfileArray
|
return smartfileArray
|
||||||
|
Loading…
Reference in New Issue
Block a user