You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@ -55,10 +55,10 @@ class TaskQueue {
|
||||
|
||||
task
|
||||
.callback()
|
||||
.then(result => {
|
||||
.then((result) => {
|
||||
completeTask(task, result, null);
|
||||
})
|
||||
.catch(error => {
|
||||
.catch((error) => {
|
||||
if (!error) error = new Error('Unknown error');
|
||||
completeTask(task, null, error);
|
||||
});
|
||||
@ -68,7 +68,7 @@ class TaskQueue {
|
||||
}
|
||||
|
||||
isWaiting(taskId) {
|
||||
return this.waitingTasks_.find(task => task.id === taskId);
|
||||
return this.waitingTasks_.find((task) => task.id === taskId);
|
||||
}
|
||||
|
||||
isProcessing(taskId) {
|
||||
|
Reference in New Issue
Block a user