Skip to content

Commit b49ea0b

Browse files
dhasani23David Hasani
and
David Hasani
authored
fix(gumby): surround path with double quotes (aws#4256)
Co-authored-by: David Hasani <[email protected]>
1 parent 9d0ede8 commit b49ea0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codewhisperer/service/transformByQHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export async function validateProjectSelection(project: vscode.QuickPickItem) {
110110
})
111111
throw new TransformByQJavaProjectNotFound()
112112
}
113-
const classFilePath = compiledJavaFiles[0].fsPath
113+
const classFilePath = `"${compiledJavaFiles[0].fsPath}"`
114114
const baseCommand = 'javap'
115115
const args = ['-v', classFilePath]
116116
const spawnResult = spawnSync(baseCommand, args, { shell: true, encoding: 'utf-8' })

0 commit comments

Comments
 (0)