Skip to content

Commit fd2b509

Browse files
authored
Fix test log dir broken by intellij plugin 0.7.3 (#2603)
1 parent 289d3f7 commit fd2b509

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildSrc/src/main/kotlin/toolkit-intellij-subplugin.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import org.gradle.testing.jacoco.plugins.JacocoTaskExtension.Output
5+
import org.jetbrains.intellij.Utils
56
import org.jetbrains.intellij.tasks.DownloadRobotServerPluginTask
67
import org.jetbrains.intellij.tasks.RunIdeForUiTestTask
78
import software.aws.toolkits.gradle.IdeVersions
@@ -97,7 +98,7 @@ afterEvaluate {
9798
}
9899

99100
tasks.withType<Test>().all {
100-
systemProperty("log.dir", "${intellij.sandboxDirectory}-test/logs")
101+
systemProperty("log.dir", "${Utils.stringInput(intellij.sandboxDirectory)}-test/logs")
101102
systemProperty("testDataPath", project.rootDir.resolve("testdata").absolutePath)
102103
}
103104

0 commit comments

Comments
 (0)