Skip to content

Commit 3403c49

Browse files
author
David Hasani
committed
fix Windows cmd args issue
1 parent 7677c2f commit 3403c49

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/core/src/amazonqGumby/chat/controller/controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,7 @@ export class GumbyController {
644644
telemetry.codeTransform_submitSelection.emit({
645645
codeTransformSessionId: CodeTransformTelemetryState.instance.getSessionId(),
646646
userChoice: objective,
647+
result: 'Succeeded',
647648
})
648649
}
649650
if (objective === 'language upgrade') {

packages/core/src/codewhisperer/commands/startTransformByQ.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ export async function getValidSQLConversionCandidateProjects() {
753753
const searchStrings = ['oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@//', 'jdbc:oracle:oci:@//']
754754
for (const str of searchStrings) {
755755
// case-insensitive, recursive search
756-
const args = isWindows ? ['/i', '/s', str] : ['-i', '-r', str]
756+
const args = isWindows ? ['/i', '/s', str, '*.*'] : ['-i', '-r', str]
757757
const spawnResult = await new ChildProcess(command, args).run({
758758
spawnOptions: { cwd: project.path, shell: false },
759759
})

0 commit comments

Comments
 (0)