mirror of
				https://gitea.com/actions/checkout.git
				synced 2025-11-02 07:47:04 +00:00 
			
		
		
		
	.
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							@@ -498,7 +498,7 @@ class GitAuthHelper {
 | 
				
			|||||||
                core.debug(`Error during includeIf cleanup: ${err}`);
 | 
					                core.debug(`Error during includeIf cleanup: ${err}`);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            // Remove submodule includeIf
 | 
					            // Remove submodule includeIf
 | 
				
			||||||
            yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`, true);
 | 
					            yield this.git.submoduleForeach(`sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`, true);
 | 
				
			||||||
            // Remove credentials config file
 | 
					            // Remove credentials config file
 | 
				
			||||||
            if (this.credentialsConfigPath) {
 | 
					            if (this.credentialsConfigPath) {
 | 
				
			||||||
                try {
 | 
					                try {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -474,7 +474,7 @@ class GitAuthHelper {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    // Remove submodule includeIf
 | 
					    // Remove submodule includeIf
 | 
				
			||||||
    await this.git.submoduleForeach(
 | 
					    await this.git.submoduleForeach(
 | 
				
			||||||
      `sh -c "git config --local --get-regexp '^includeIf\\.' && git config --local --remove-section includeIf || :"`,
 | 
					      `sh -c "git config --local --get-regexp '^includeif\\.' && git config --local --remove-section includeif || :"`,
 | 
				
			||||||
      true
 | 
					      true
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user