Skip to content

Commit c8af22f

Browse files
authored
Merge branch 'main' into fix/suggested-version
2 parents 2f1079a + d8f3148 commit c8af22f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/upgrade/utility.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ export function buildFixPrompt(issue: UpgradeIssue): string {
9595
switch (reason) {
9696
case UpgradeReason.JRE_TOO_OLD: {
9797
const { suggestedVersion: { name: suggestedVersionName } } = issue;
98-
return `upgrade java runtime to the LTS version ${suggestedVersionName} using java upgrade tools`;
98+
return `upgrade java runtime to the LTS version ${suggestedVersionName} using java upgrade tools by invoking #generate_upgrade_plan`;
9999
}
100100
case UpgradeReason.END_OF_LIFE:
101101
case UpgradeReason.DEPRECATED: {
102102
const { suggestedVersion: { name: suggestedVersionName } } = issue;
103-
return `upgrade ${packageDisplayName} to ${suggestedVersionName} using java upgrade tools`;
103+
return `upgrade ${packageDisplayName} to ${suggestedVersionName} using java upgrade tools by invoking #generate_upgrade_plan`;
104104
}
105105
case UpgradeReason.CVE: {
106-
return `fix all critical and high-severity CVE vulnerabilities in this project`;
106+
return `fix all critical and high-severity CVE vulnerabilities in this project by invoking #validate_cves_for_java`;
107107
}
108108
}
109109
}

0 commit comments

Comments
 (0)