refactor: register

This commit is contained in:
xiaojunnuo
2023-05-09 09:56:31 +08:00
parent f358a0f226
commit e123ec4089
14 changed files with 25 additions and 18 deletions
-18
View File
@@ -1,21 +1,3 @@
import * as cert from "@certd/plugin-cert";
import * as aliyun from "@certd/plugin-aliyun";
import * as tencent from "@certd/plugin-tencent";
import * as host from "@certd/plugin-host";
import * as huawei from "@certd/plugin-huawei";
function register(exports: any) {
for (const key in exports) {
const value = exports[key];
console.log("value");
}
}
register(cert);
register(aliyun);
register(tencent);
register(host);
register(huawei);
export * from "@certd/plugin-cert";
export * from "@certd/plugin-aliyun";
export * from "@certd/plugin-tencent";