Skip to content

Commit

Permalink
Fix issue locating wrapper bat on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz authored Jul 16, 2023
1 parent f59a6d4 commit a0fdbb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/gradlew.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a0fdbb0

Please sign in to comment.