Skip to content

Commit 6c7fdfe

Browse files
author
David Hasani
committed
update text
1 parent 790ae7a commit 6c7fdfe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/core/src/codewhisperer/models/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ export const cleanTestCompileErrorNotification = `Amazon Q could not run \`mvn c
731731
export const enterJavaHomeChatMessage = 'Enter the path to JDK'
732732

733733
export const projectPromptChatMessage =
734-
'I can upgrade your Java project. To start the transformation, I need some information from you. Choose the project you want to upgrade and the target code version to upgrade to. Then, choose Confirm.\n\nAfter successfully transforming to Java 17 or 21, an additional transformation is required to upgrade your libraries and dependencies. Choose the same source code version and target code version (for example, 17 to 17) to do this.'
734+
"I can upgrade your Java project. To start the transformation, I need some information from you. Choose the project you want to upgrade and the target code version to upgrade to. Then, choose Confirm.\n\nAfter successfully transforming to Java 17 or 21, an additional transformation is required to upgrade your libraries and dependencies. Choose the same source code version and target code version (for example, 17 to 17) to do this.\n\nI will perform the transformation based on your project's requests, descriptions, and content. To maintain security, avoid including external, unvetted artifacts in your project repository prior to starting the transformation and always validate transformed code for both functionality and security. By pressing Confirm, you agree to these terms."
735735

736736
export const windowsJavaHomeHelpChatMessage =
737737
'To find the JDK path, run the following commands in a new terminal: `cd "C:/Program Files/Java"` and then `dir`. If you see your JDK version, run `cd <version>` and then `cd` to show the path.'

packages/core/src/test/codewhisperer/commands/transformByQ.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,7 @@ dependencyManagement:
664664
message: expectedMessage,
665665
}
666666
)
667-
// TO-DO: why is this being called 5 times instead of 4?
668-
// sinon.assert.callCount(fetchStub, 4)
667+
sinon.assert.callCount(fetchStub, 5)
669668
})
670669

671670
it('should not retry upload on non-retriable error', async () => {

0 commit comments

Comments
 (0)