mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 01:58:36 +08:00 
			
		
		
		
	ran npm run build
				
					
				
			This commit is contained in:
		
							parent
							
								
									914445f9e7
								
							
						
					
					
						commit
						7695871fe0
					
				
							
								
								
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -2477,9 +2477,9 @@ function isGhes(url) { | ||||||
|     const ghUrl = new url_1.URL(url || process.env['GITHUB_SERVER_URL'] || 'https://github.com'); |     const ghUrl = new url_1.URL(url || process.env['GITHUB_SERVER_URL'] || 'https://github.com'); | ||||||
|     const hostname = ghUrl.hostname.trimEnd().toUpperCase(); |     const hostname = ghUrl.hostname.trimEnd().toUpperCase(); | ||||||
|     const isGitHubHost = hostname === 'GITHUB.COM'; |     const isGitHubHost = hostname === 'GITHUB.COM'; | ||||||
|     const isGheHost = hostname.endsWith('.GHE.COM'); |     const isGitHubEnterpriseCloudHost = hostname.endsWith('.GHE.COM'); | ||||||
|     const isLocalHost = hostname.endsWith('.LOCALHOST'); |     const isLocalHost = hostname.endsWith('.LOCALHOST'); | ||||||
|     return !isGitHubHost && !isGheHost && !isLocalHost; |     return !isGitHubHost && !isGitHubEnterpriseCloudHost && !isLocalHost; | ||||||
| } | } | ||||||
| function pruneSuffix(text, suffix) { | function pruneSuffix(text, suffix) { | ||||||
|     if (hasContent(suffix, true) && (text === null || text === void 0 ? void 0 : text.endsWith(suffix))) { |     if (hasContent(suffix, true) && (text === null || text === void 0 ? void 0 : text.endsWith(suffix))) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 John Wesley Walker III
						John Wesley Walker III