mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:31:44 +08:00
FIX: eslint was broken
This commit is contained in:
parent
6845f0151d
commit
c34520d384
|
@ -129,7 +129,7 @@ export function reopenWidget(name, opts) {
|
|||
let existing = _registry[name];
|
||||
if (!existing) {
|
||||
console.error(`Could not find widget ${name} in registry`);
|
||||
return
|
||||
return;
|
||||
}
|
||||
|
||||
Object.keys(opts).forEach(k => existing.prototype[k] = opts[k]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user