mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 16:20:59 -05:00
Fix issue locating wrapper bat on windows
This commit is contained in:
parent
f59a6d4310
commit
a0fdbb009a
3 changed files with 3 additions and 3 deletions
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 {
|
||||||
|
|
Loading…
Reference in a new issue