mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 18:18:37 +08:00 
			
		
		
		
	Fixing typo in error debug message for failed clean
				
					
				
			This commit is contained in:
		
							parent
							
								
									453ee27fca
								
							
						
					
					
						commit
						dfaf9d305e
					
				
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -7601,7 +7601,7 @@ function prepareExistingDirectory(git, repositoryPath, repositoryUrl, clean, ref | ||||||
|                 if (clean) { |                 if (clean) { | ||||||
|                     core.startGroup('Cleaning the repository'); |                     core.startGroup('Cleaning the repository'); | ||||||
|                     if (!(yield git.tryClean())) { |                     if (!(yield git.tryClean())) { | ||||||
|                         core.debug(`The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For futher investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.`); |                         core.debug(`The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For further investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.`); | ||||||
|                         remove = true; |                         remove = true; | ||||||
|                     } |                     } | ||||||
|                     else if (!(yield git.tryReset())) { |                     else if (!(yield git.tryReset())) { | ||||||
|  |  | ||||||
|  | @ -84,7 +84,7 @@ export async function prepareExistingDirectory( | ||||||
|         core.startGroup('Cleaning the repository') |         core.startGroup('Cleaning the repository') | ||||||
|         if (!(await git.tryClean())) { |         if (!(await git.tryClean())) { | ||||||
|           core.debug( |           core.debug( | ||||||
|             `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For futher investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` |             `The clean command failed. This might be caused by: 1) path too long, 2) permission issue, or 3) file in use. For further investigation, manually run 'git clean -ffdx' on the directory '${repositoryPath}'.` | ||||||
|           ) |           ) | ||||||
|           remove = true |           remove = true | ||||||
|         } else if (!(await git.tryReset())) { |         } else if (!(await git.tryReset())) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Nicola Corti
						Nicola Corti