remove unnecessary variable
This commit is contained in:
+1
-2
@@ -561,8 +561,7 @@
|
|||||||
CONFIG.categories
|
CONFIG.categories
|
||||||
.map(category => category.commands)
|
.map(category => category.commands)
|
||||||
.forEach(commands => commands.forEach(command => {
|
.forEach(commands => commands.forEach(command => {
|
||||||
let done = callback(command);
|
if (callback(command)) return;
|
||||||
if (done) return;
|
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user