You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tools: Enforce and apply eslint rules prefer-const and no-var
This commit is contained in:
@ -3,7 +3,7 @@ function promiseChain(chain, defaultValue = null) {
|
||||
resolve(defaultValue);
|
||||
});
|
||||
for (let i = 0; i < chain.length; i++) {
|
||||
let f = chain[i];
|
||||
const f = chain[i];
|
||||
output = output.then(f);
|
||||
}
|
||||
return output;
|
||||
|
Reference in New Issue
Block a user