src/app/core/ui/latest-changes/update-manager.service.ts
Function updateIfPossible
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private updateIfPossible() {
const currentVersion =
localStorage.getItem(LatestChangesDialogService.VERSION_KEY) || "";
if (currentVersion.startsWith(this.UPDATE_PREFIX)) {
// Sometimes this is triggered multiple times for one update