You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqCodeTest/utils/UTGChatUtil.kt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -99,8 +99,10 @@ fun runBuildOrTestCommand(
99
99
// Find the nearest Gradle root directory
100
100
var packageRoot:File?= testFileAbsolutePath.parentFile
101
101
while (packageRoot !=null&& packageRoot != projectRoot) {
102
-
if (File(packageRoot, "settings.gradle.kts").exists() ||File(packageRoot, "build.gradle.kts").exists()) {
103
-
break// top when we find a valid Gradle project root
102
+
if (File(packageRoot, "settings.gradle.kts").exists() ||File(packageRoot, "build.gradle.kts").exists() ||
0 commit comments