mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Simplify style.
Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com>
This commit is contained in:
parent
66b8a9130c
commit
5452405692
@ -352,8 +352,7 @@ export class ExtensionLoader {
|
||||
);
|
||||
|
||||
// Return ExtensionLoading[]
|
||||
return extensions
|
||||
.map(extension => {
|
||||
return extensions.map(extension => {
|
||||
const loaded = extension.instance.enable(register).catch((err) => {
|
||||
logger.error(`${logModule}: failed to enable`, { ext: extension, err });
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user