You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Tools: Enforce and apply eslint rules prefer-const and no-var
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class NavService {
|
||||
static async go(routeName) {
|
||||
if (this.handlers_.length) {
|
||||
let r = await this.handlers_[this.handlers_.length - 1]();
|
||||
const r = await this.handlers_[this.handlers_.length - 1]();
|
||||
if (r) return r;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user