remove unnecessary variable

This commit is contained in:
Cade Scroggins 2017-04-25 17:38:49 -07:00
parent 38eb33bd42
commit 251197252c

View file

@ -561,8 +561,7 @@
CONFIG.categories
.map(category => category.commands)
.forEach(commands => commands.forEach(command => {
let done = callback(command);
if (done) return;
if (callback(command)) return;
}));
}