diff --git a/.eslintrc.json b/.eslintrc.json index a7ce0b6..ef486c9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -5,7 +5,7 @@ "prettier/prettier": [ "error", { - "endOfLine": "autoFix" + "endOfLine": "auto" } ] } diff --git a/src/Engines/FileCache.ts b/src/Engines/FileCache.ts index 8b9f5bf..f67d6b9 100644 --- a/src/Engines/FileCache.ts +++ b/src/Engines/FileCache.ts @@ -54,13 +54,13 @@ class FileCache implements EngineInterface { fs.writeFileSync( this.path() + '/' + this.hashKey(key) + '.cache', JSON.stringify(newArr), - 'binary', + 'binary' ) } private read(key: string): any { const data = JSON.parse( - fs.readFileSync(this.path() + '/' + this.hashKey(key) + '.cache', 'binary'), + fs.readFileSync(this.path() + '/' + this.hashKey(key) + '.cache', 'binary') ) if (data['meta']) {