Skip to content

Commit 4fe84a6

Browse files
author
David Hasani
committed
address comment
1 parent d986546 commit 4fe84a6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/ideMaven/MavenRunnerUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fun runClientSideBuild(targetDir: VirtualFile, logger: Logger, project: Project)
4747
FileEditorManager.getInstance(project).openFile(buildLogOutputVirtualFile, true)
4848
}
4949
}
50-
return buildRunnable.exitCode to buildRunnable.getOutput().toString()
50+
return buildRunnable.getExitCode() to buildRunnable.getOutput().toString()
5151
}
5252

5353
fun runHilMavenCopyDependency(

plugins/amazonq/codetransform/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codemodernizer/ideMaven/TransformRunnable.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
package software.aws.toolkits.jetbrains.services.codemodernizer.ideMaven
55

66
class TransformRunnable : Runnable {
7-
var exitCode: Int? = null
7+
private var exitCode: Int? = null
88
private var output: String? = null
99

1010
fun setExitCode(i: Int) {
1111
exitCode = i
1212
}
1313

14+
fun getExitCode(): Int? = exitCode
15+
1416
override fun run() {
1517
// do nothing
1618
}
7.48 KB
Binary file not shown.

0 commit comments

Comments
 (0)