mirror of
				https://github.com/gradle/gradle-build-action.git
				synced 2025-10-31 07:08:56 +08:00 
			
		
		
		
	Fix issue locating wrapper bat on windows
This commit is contained in:
		
							
								
								
									
										2
									
								
								dist/main/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/main/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -73341,7 +73341,7 @@ const path = __importStar(__nccwpck_require__(1017)); | |||||||
| const fs_1 = __importDefault(__nccwpck_require__(7147)); | const fs_1 = __importDefault(__nccwpck_require__(7147)); | ||||||
| const IS_WINDOWS = process.platform === 'win32'; | const IS_WINDOWS = process.platform === 'win32'; | ||||||
| function wrapperScriptFilename() { | function wrapperScriptFilename() { | ||||||
|     return IS_WINDOWS ? 'gradlew.bat' : './gradlew'; |     return IS_WINDOWS ? './gradlew.bat' : './gradlew'; | ||||||
| } | } | ||||||
| exports.wrapperScriptFilename = wrapperScriptFilename; | exports.wrapperScriptFilename = wrapperScriptFilename; | ||||||
| function installScriptFilename() { | function installScriptFilename() { | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								dist/main/index.js.map
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/main/index.js.map
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -4,7 +4,7 @@ import fs from 'fs' | |||||||
| const IS_WINDOWS = process.platform === 'win32' | const IS_WINDOWS = process.platform === 'win32' | ||||||
|  |  | ||||||
| export function wrapperScriptFilename(): string { | export function wrapperScriptFilename(): string { | ||||||
|     return IS_WINDOWS ? 'gradlew.bat' : './gradlew' |     return IS_WINDOWS ? './gradlew.bat' : './gradlew' | ||||||
| } | } | ||||||
|  |  | ||||||
| export function installScriptFilename(): string { | export function installScriptFilename(): string { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user