Skip to content

Commit

Permalink
cleanup(core): remove unneeded error declaration in catch clause
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Aug 14, 2024
1 parent 76822ae commit a317e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/tasks-runner/run-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ async function promptForApplyingSyncGeneratorChanges(): Promise<boolean> {
return await prompt<{ applyChanges: 'yes' | 'no' }>([promptConfig]).then(
({ applyChanges }) => applyChanges === 'yes'
);
} catch (e) {
} catch {
process.exit(1);
}
}
Expand Down

0 comments on commit a317e3d

Please sign in to comment.