mirror of
				https://kkgithub.com/actions/checkout
				synced 2025-11-04 16:21:55 +08:00 
			
		
		
		
	add support for submodules (#173)
This commit is contained in:
		
							
								
								
									
										5
									
								
								src/regexp-helper.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								src/regexp-helper.ts
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
export function escape(value: string): string {
 | 
			
		||||
  return value.replace(/[^a-zA-Z0-9_]/g, x => {
 | 
			
		||||
    return `\\${x}`
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user