mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-01 02:28:40 +08:00 
			
		
		
		
	Compiled index.js
I had to add `"newLine": "LF"` to the tsconfig.json. I also had to discard a change to `module.exports` on line 4232 because I'm pretty sure it had nothing to do with my changes.
This commit is contained in:
		
							parent
							
								
									390521655e
								
							
						
					
					
						commit
						37332a5498
					
				
							
								
								
									
										7
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -7432,12 +7432,15 @@ function getSource(settings) { | |||
|                     core.startGroup('Setting up auth for fetching submodules'); | ||||
|                     yield authHelper.configureGlobalAuth(); | ||||
|                     core.endGroup(); | ||||
|                     // Clean existing submodules
 | ||||
|                     if (settings.clean) { | ||||
|                         yield git.submoduleReset(settings.nestedSubmodules); | ||||
|                         yield git.submoduleClean(settings.nestedSubmodules); | ||||
|                     } | ||||
|                     // Checkout submodules
 | ||||
|                     core.startGroup('Fetching submodules'); | ||||
|                     yield git.submoduleSync(settings.nestedSubmodules); | ||||
|                     yield git.submoduleUpdate(settings.fetchDepth, settings.nestedSubmodules); | ||||
|                     yield git.submoduleReset(settings.nestedSubmodules); | ||||
|                     yield git.submoduleClean(settings.nestedSubmodules); | ||||
|                     yield git.submoduleForeach('git config --local gc.auto 0', settings.nestedSubmodules); | ||||
|                     core.endGroup(); | ||||
|                     // Persist credentials
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Laura Bailey
						Laura Bailey