Skip to content

Commit

Permalink
fix(core): ignore errors from cleanupNativeFileCache (revert to previ…
Browse files Browse the repository at this point in the history
…ous behaviour) (#26806)
  • Loading branch information
MaxKless authored Jul 4, 2024
1 parent 295c422 commit e09bad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/command-line/reset/reset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e09bad9

Please sign in to comment.