mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-17 12:01:13 +02:00
eslint fixes
This commit is contained in:
@@ -13,7 +13,7 @@ export const commandPaletteService = {
|
||||
publish(eventName, ...args) {
|
||||
const callbacks = this.subscriptions[eventName] || [];
|
||||
callbacks.forEach(callback => {
|
||||
callback.apply(null, args);
|
||||
callback(...args);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user