Skip to content

Commit 0e5fa2b

Browse files
Strum355claude
andcommitted
fix: pass localWrapper to traverseForWrapper in selectToolBinary
The refactored selectToolBinary call was missing the wrapperName argument, causing path.join to receive undefined. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent df57b31 commit 0e5fa2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/providers/base_java.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export default class Base_Java {
145145
const useWrapper = getWrapperPreference(this.globalBinary, opts)
146146
if (useWrapper) {
147147
const manifestDir = path.dirname(this.normalizePath(manifestPath))
148-
const wrapper = traverseForWrapper(manifestDir)
148+
const wrapper = traverseForWrapper(manifestDir, this.localWrapper)
149149
if (wrapper !== undefined) {
150150
try {
151151
this._invokeCommand(wrapper, ['--version'], {cwd: manifestDir})

0 commit comments

Comments
 (0)