server/lib/system/system.downloadUpgrade.js
Function downloadUpgrade
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function downloadUpgrade(tag) {
// reset download upgrade status
this.downloadUpgradeError = null;
this.downloadUpgradeFinished = null;
this.downloadUpgradeLastEvent = null;