mirror of https://github.com/certd/certd
				
				
				
			fix: 前置任务输出不存在时输出警告提示
							parent
							
								
									44019e1042
								
							
						
					
					
						commit
						b59052cc43
					
				| 
						 | 
				
			
			@ -314,7 +314,7 @@ export class Executor {
 | 
			
		|||
          const outputKey = arr[2];
 | 
			
		||||
          input[key] = this.currentStatusMap.get(id)?.status?.output[outputKey] ?? this.lastStatusMap.get(id)?.status?.output[outputKey];
 | 
			
		||||
          if (input[key] == null) {
 | 
			
		||||
            this.logger.warn(`${item.title}的配置未找到对应的输出值,请确认对应的前置任务是否存在或者是否执行正确`);
 | 
			
		||||
            currentLogger.warn(`${item.title}的配置未找到对应的输出值,请确认对应的前置任务是否存在或者是否执行正确`);
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -23,7 +23,7 @@ const unhiddenHtml = `
 | 
			
		|||
 | 
			
		||||
@Provide()
 | 
			
		||||
@Controller('/api/unhidden')
 | 
			
		||||
export class HnhiddenController {
 | 
			
		||||
export class UnhiddenController {
 | 
			
		||||
    @Inject()
 | 
			
		||||
    ctx: IMidwayKoaContext;
 | 
			
		||||
    @Inject()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue