fix(core.gbapp): Dynamic services from .gbapps.

This commit is contained in:
Rodrigo Rodriguez 2020-09-21 00:28:06 -03:00
parent 48ae0a2b4f
commit c01430f0f3

View file

@ -491,7 +491,7 @@ export class GBMinService {
await CollectionUtil.asyncForEach(min.appPackages, async (e: IGBPackage) => {
let services: ConcatArray<never>;
if ((services = await e.onExchangeData(min, 'getServices', null))) {
min.gbappServices.concat(services);
min.gbappServices = Object.assign(min.gbappServices, services);
}
});
@ -806,5 +806,4 @@ export class GBMinService {
}
}
}
}