mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
perf: huawei signer ts化
This commit is contained in:
@@ -134,6 +134,10 @@ module.exports = async function(client, userOpts) {
|
||||
|
||||
await client.waitForValidStatus(challenge);
|
||||
}
|
||||
catch (e) {
|
||||
log(`[auto] [${d}] challengeCreateFn threw error: ${e.message}`);
|
||||
throw e;
|
||||
}
|
||||
finally {
|
||||
/* Trigger challengeRemoveFn(), suppress errors */
|
||||
log(`[auto] [${d}] Trigger challengeRemoveFn()`);
|
||||
|
||||
@@ -8,6 +8,7 @@ import { AUTOWIRE_KEY } from "../decorator";
|
||||
export const PLUGIN_CLASS_KEY = "pipeline:plugin";
|
||||
|
||||
export function IsTaskPlugin(define: PluginDefine): ClassDecorator {
|
||||
console.log("IsTaskPlugin");
|
||||
return (target: any) => {
|
||||
target = Decorator.target(target);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user