This commit is contained in:
xiaojunnuo
2024-12-03 00:35:34 +08:00
parent 66b95d52fd
commit 4e768ec50f
2 changed files with 9 additions and 1 deletions
@@ -1,5 +1,6 @@
import { Provide, Scope, ScopeEnum } from '@midwayjs/core';
import { pluginGroups, pluginRegistry } from '@certd/pipeline';
import { cloneDeep } from 'lodash-es';
@Provide()
@Scope(ScopeEnum.Singleton)
@@ -18,6 +19,6 @@ export class BuiltInPluginService {
}
getGroups() {
return pluginGroups;
return cloneDeep(pluginGroups);
}
}