Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
b53240a2ea | |||
2ba39cf2ac | |||
675934d049 | |||
dda4c1af07 |
4
dist/smartfile.fs.js
vendored
4
dist/smartfile.fs.js
vendored
File diff suppressed because one or more lines are too long
@ -5,5 +5,10 @@
|
||||
},
|
||||
"npmdocker":{
|
||||
|
||||
},
|
||||
"npmci": {
|
||||
"globalNpmTools": [
|
||||
"npmts"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smartfile",
|
||||
"version": "4.1.8",
|
||||
"version": "4.1.9",
|
||||
"description": "offers smart ways to work with files in nodejs",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
@ -41,7 +41,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"gulp-function": "^2.2.3",
|
||||
"npmts-g": "^6.0.0",
|
||||
"smartchai": "^1.0.3",
|
||||
"typings-test": "^1.0.3"
|
||||
}
|
||||
|
@ -214,7 +214,9 @@ export let fileTreeToObject = async (dirPathArg: string, miniMatchFilter: string
|
||||
for (let filePath of fileTree) {
|
||||
smartfileArray.push(new Smartfile({
|
||||
path: filePath,
|
||||
contentBuffer: new Buffer(toStringSync(filePath))
|
||||
contentBuffer: new Buffer(toStringSync(
|
||||
plugins.path.join(dirPathArg, filePath)
|
||||
))
|
||||
}))
|
||||
}
|
||||
return smartfileArray
|
||||
|
Reference in New Issue
Block a user