Skip to content

Commit

Permalink
Merge pull request #1 from a28028/a28028-patch-1
Browse files Browse the repository at this point in the history
Update FileCache.ts
  • Loading branch information
a28028 committed Oct 2, 2021
2 parents 94735b9 + be802ec commit cf8b796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Engines/FileCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class FileCache implements EngineInterface {
try {
if (this.isCacheExist(key)) {
const path = this.path()
fs.unlinkSync(path + '/' + this.hashKey(key))
fs.unlinkSync(path + '/' + this.hashKey(key) + '.cache')
return true
}
return false
Expand Down

0 comments on commit cf8b796

Please sign in to comment.