Skip to content

Commit d9cb44c

Browse files
authored
Merge branch 'master' into master
2 parents 185d106 + b654eb3 commit d9cb44c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/core/src/codewhisperer/service/transformByQ/transformMavenHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ import globals from '../../../shared/extensionGlobals'
1717
function collectDependenciesAndMetadata(dependenciesFolderPath: string, workingDirPath: string) {
1818
getLogger().info('CodeTransformation: running mvn clean test-compile with maven JAR')
1919

20-
const baseCommand = transformByQState.getMavenName()
20+
const baseCommand = transformByQState.getMavenName() // always 'mvn'
2121
const jarPath = globals.context.asAbsolutePath(path.join('resources', 'amazonQCT', 'QCT-Maven-1-0-156-0.jar'))
2222

2323
getLogger().info('CodeTransformation: running Maven extension with JAR')
2424

2525
const args = [
26-
`-Dmaven.ext.class.path=${jarPath}`,
27-
`-Dcom.amazon.aws.developer.transform.jobDirectory=${dependenciesFolderPath}`,
26+
`-Dmaven.ext.class.path="${jarPath}"`,
27+
`-Dcom.amazon.aws.developer.transform.jobDirectory="${dependenciesFolderPath}"`,
2828
'clean',
2929
'test-compile',
3030
]

packages/core/src/shared/sshConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Host ${this.configHostName}
208208

209209
protected createSSHConfigSection(proxyCommand: string): string {
210210
if (this.scriptPrefix === 'sagemaker_connect') {
211-
return `${this.getSageMakerSSHConfig(proxyCommand)}User '%r'\n`
211+
return `${this.getSageMakerSSHConfig(proxyCommand)}`
212212
} else if (this.keyPath) {
213213
return `${this.getBaseSSHConfig(proxyCommand)}IdentityFile '${this.keyPath}'\n User '%r'\n`
214214
}

0 commit comments

Comments
 (0)