fix(core): ignore errors from cleanupNativeFileCache (revert to previous behaviour) (#26806)
This commit is contained in:
parent
295c4229db
commit
e09bad9363
@ -54,7 +54,7 @@ export async function resetHandler(args: ResetCommandOptions) {
|
|||||||
try {
|
try {
|
||||||
await cleanupNativeFileCache();
|
await cleanupNativeFileCache();
|
||||||
} catch {
|
} 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 {
|
try {
|
||||||
await cleanupWorkspaceData();
|
await cleanupWorkspaceData();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user