chore: update debug message (#1311)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
		
							parent
							
								
									e6e128a1c4
								
							
						
					
					
						commit
						8c58d60f5b
					
				
							
								
								
									
										6
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								dist/index.js
									
									
									
										generated
									
									
										vendored
									
									
								
							| @ -978,7 +978,7 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has | |||||||
|                     sha2: currentSha, |                     sha2: currentSha, | ||||||
|                     diff |                     diff | ||||||
|                 }))) { |                 }))) { | ||||||
|                     core.debug('Merge base is not in the local history, fetching remote target branch...'); |                     core.info('Merge base is not in the local history, fetching remote target branch...'); | ||||||
|                     for (let i = 1; i <= 10; i++) { |                     for (let i = 1; i <= 10; i++) { | ||||||
|                         yield (0, utils_1.gitFetch)({ |                         yield (0, utils_1.gitFetch)({ | ||||||
|                             cwd: workingDirectory, |                             cwd: workingDirectory, | ||||||
| @ -999,8 +999,8 @@ const getSHAForPullRequestEvent = (inputs, env, workingDirectory, isShallow, has | |||||||
|                         })) { |                         })) { | ||||||
|                             break; |                             break; | ||||||
|                         } |                         } | ||||||
|                         core.debug('Merge base is not in the local history, fetching remote target branch again...'); |                         core.info('Merge base is not in the local history, fetching remote target branch again...'); | ||||||
|                         core.debug(`Attempt ${i}/10`); |                         core.info(`Attempt ${i}/10`); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js.map
									
									
									
										generated
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -411,7 +411,7 @@ export const getSHAForPullRequestEvent = async ( | |||||||
|             diff |             diff | ||||||
|           })) |           })) | ||||||
|         ) { |         ) { | ||||||
|           core.debug( |           core.info( | ||||||
|             'Merge base is not in the local history, fetching remote target branch...' |             'Merge base is not in the local history, fetching remote target branch...' | ||||||
|           ) |           ) | ||||||
| 
 | 
 | ||||||
| @ -439,10 +439,10 @@ export const getSHAForPullRequestEvent = async ( | |||||||
|               break |               break | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             core.debug( |             core.info( | ||||||
|               'Merge base is not in the local history, fetching remote target branch again...' |               'Merge base is not in the local history, fetching remote target branch again...' | ||||||
|             ) |             ) | ||||||
|             core.debug(`Attempt ${i}/10`) |             core.info(`Attempt ${i}/10`) | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tonye Jack
						Tonye Jack