Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
51f9d76a64 | |||
c2f809f9cf |
3
dist/smartfile.fs.js
vendored
3
dist/smartfile.fs.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartfile",
|
"name": "smartfile",
|
||||||
"version": "4.2.8",
|
"version": "4.2.9",
|
||||||
"description": "offers smart ways to work with files in nodejs",
|
"description": "offers smart ways to work with files in nodejs",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
@ -205,7 +205,6 @@ export let toObjectSync = function (filePathArg, fileTypeArg?) {
|
|||||||
*/
|
*/
|
||||||
export let toStringSync = function (filePath: string): string {
|
export let toStringSync = function (filePath: string): string {
|
||||||
let fileString: any = plugins.fsExtra.readFileSync(filePath, 'utf8')
|
let fileString: any = plugins.fsExtra.readFileSync(filePath, 'utf8')
|
||||||
fileString = `${fileString}`
|
|
||||||
return fileString
|
return fileString
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user