mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-01 02:28:40 +08:00 
			
		
		
		
	wrap the command for submoduleForeach in quotes
This commit is contained in:
		
							parent
							
								
									8230315d06
								
							
						
					
					
						commit
						98c5f92069
					
				|  | @ -297,7 +297,10 @@ class GitCommandManager { | ||||||
|     if (recursive) { |     if (recursive) { | ||||||
|       args.push('--recursive') |       args.push('--recursive') | ||||||
|     } |     } | ||||||
|  |     # this is an ugly way to add the quotes around the command | ||||||
|  |     args.push('"') | ||||||
|     args.push(command) |     args.push(command) | ||||||
|  |     args.push('"') | ||||||
| 
 | 
 | ||||||
|     const output = await this.execGit(args) |     const output = await this.execGit(args) | ||||||
|     return output.stdout |     return output.stdout | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 jok
						jok