Skip to content

Commit

Permalink
fixing code analisys complain
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmaelMartinez committed Jan 21, 2025
1 parent b1a18c5 commit 9cd657c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/menus/tray.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ class ApplicationTray {
}

close() {
!this.tray.isDestroyed() ? this.tray.destroy() : null;
if (!this.tray.isDestroyed()) {
this.tray.destroy()
}
}
}
exports = module.exports = ApplicationTray;

0 comments on commit 9cd657c

Please sign in to comment.