mirror of
				https://kkgithub.com/actions/checkout
				synced 2025-11-04 08:11:53 +08:00 
			
		
		
		
	updating error handling
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@ -7209,7 +7209,7 @@ class GitAuthHelper {
 | 
				
			|||||||
                    // eslint-disable-next-line github/no-then
 | 
					                    // eslint-disable-next-line github/no-then
 | 
				
			||||||
                    .catch(err => {
 | 
					                    .catch(err => {
 | 
				
			||||||
                    // eslint-disable-next-line i18n-text/no-en
 | 
					                    // eslint-disable-next-line i18n-text/no-en
 | 
				
			||||||
                    core.warning(`Failed to remove temporary home directory: ${err}`);
 | 
					                    core.warning(`Failed to remove temporary checkout directory: ${err}`);
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
				
			|||||||
@ -202,7 +202,7 @@ class GitAuthHelper {
 | 
				
			|||||||
        // eslint-disable-next-line github/no-then
 | 
					        // eslint-disable-next-line github/no-then
 | 
				
			||||||
        .catch(err => {
 | 
					        .catch(err => {
 | 
				
			||||||
          // eslint-disable-next-line i18n-text/no-en
 | 
					          // eslint-disable-next-line i18n-text/no-en
 | 
				
			||||||
          core.warning(`Failed to remove temporary home directory: ${err}`)
 | 
					          core.warning(`Failed to remove temporary checkout directory: ${err}`)
 | 
				
			||||||
        })
 | 
					        })
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user