mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 14:56:18 +08:00
Fix issue locating wrapper bat on windows
This commit is contained in:
parent
f59a6d4310
commit
a0fdbb009a
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 IS_WINDOWS = process.platform === 'win32';
|
||||
function wrapperScriptFilename() {
|
||||
return IS_WINDOWS ? 'gradlew.bat' : './gradlew';
|
||||
return IS_WINDOWS ? './gradlew.bat' : './gradlew';
|
||||
}
|
||||
exports.wrapperScriptFilename = wrapperScriptFilename;
|
||||
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'
|
||||
|
||||
export function wrapperScriptFilename(): string {
|
||||
return IS_WINDOWS ? 'gradlew.bat' : './gradlew'
|
||||
return IS_WINDOWS ? './gradlew.bat' : './gradlew'
|
||||
}
|
||||
|
||||
export function installScriptFilename(): string {
|
||||
|
Loading…
x
Reference in New Issue
Block a user