Merge branch 'master' into 'master'
fix smartfile.fs.fileTreeToObject See merge request !1
This commit is contained in:
commit
2ba39cf2ac
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