fix(core): ignore errors from cleanupNativeFileCache (revert to previous behaviour) (#26806)

This commit is contained in:
MaxKless 2024-07-04 14:59:16 +02:00 committed by GitHub
parent 295c4229db
commit e09bad9363
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ export async function resetHandler(args: ResetCommandOptions) {
try {
await cleanupNativeFileCache();
} catch {
errors.push('Failed to clean up the native file cache.');
// ignore, deleting the native file cache is not critical and can fail if another process is locking the file
}
try {
await cleanupWorkspaceData();