We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 614265c commit e9bb74dCopy full SHA for e9bb74d
packages/bentocache/src/drivers/file/cleaner.js
@@ -49,7 +49,7 @@ export async function pruneExpiredFiles({ directory, onError }) {
49
* "parentPath" was added in Node.js v20.12.0.
50
* We fallback to "path" for older versions of Node.js.
51
*/
52
- // @ts-ignore
+ // @ts-expect-error -- ignore --
53
const basePath = typeof dirEntry.parentPath === 'string' ? dirEntry.parentPath : dirEntry.path
54
55
const filePath = join(basePath, dirEntry.name)
0 commit comments