src/presentation/electron/main/Update/AutomaticUpdateCoordinator.ts
Function startHandlingUpdateProgress
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function startHandlingUpdateProgress(autoUpdater: AppUpdater): Promise<void> {
return new Promise((resolve, reject) => { // Block until update process completes
const progressBar = new UpdateProgressBar();
progressBar.showIndeterminateState();
autoUpdater.on('error', (e) => {