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)

(cherry picked from commit e09bad9)
  • Loading branch information
MaxKless authored and FrozenPandaz committed Jul 5, 2024
1 parent ae38180 commit 892c98f
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 892c98f

Please sign in to comment.