Skip to content

Commit

Permalink
maven executable path command updated
Browse files Browse the repository at this point in the history
  • Loading branch information
SuparnaSuresh committed Nov 27, 2024
1 parent bb35940 commit 776c3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/commandUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export async function getCommandForMaven(pomPath: string, command: string, termi
// attempt to use the Maven executable path, if empty try using mvn or mvnw according to the preferMavenWrapper setting
const mavenExecutablePath: string | undefined = vscode.workspace.getConfiguration("maven").get<string>("executable.path");
if (mavenExecutablePath) {
return formDefaultCommand(mavenExecutablePath, pomPath, command, "-f ", customCommand);
return formDefaultCommandWithPath(mavenExecutablePath, pomPath, command, "-f ", customCommand);
}
let mvnCmdStart = await mvnCmd(pomPath);
if (mvnCmdStart === "mvn") {
Expand Down

0 comments on commit 776c3c5

Please sign in to comment.