mirror of
https://github.com/discourse/discourse.git
synced 2025-05-14 05:56:10 +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…
x
Reference in New Issue
Block a user