Compare commits

..

2 Commits

Author SHA1 Message Date
51f9d76a64 4.2.9 2017-05-02 00:07:43 +02:00
c2f809f9cf revert false assumption 2017-05-02 00:07:39 +02:00
3 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -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",

View File

@ -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
} }