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/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanManager.kt
+27-27Lines changed: 27 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -435,6 +435,10 @@ class CodeWhispererCodeScanManager(val project: Project) {
Copy file name to clipboardExpand all lines: plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/CodeWhispererCodeScanResultsView.kt
Copy file name to clipboardExpand all lines: plugins/toolkit/jetbrains-core/src/software/aws/toolkits/jetbrains/services/codewhisperer/codescan/sessionconfig/CodeScanSessionConfig.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,9 @@ class CodeScanSessionConfig(
40
40
privatevalproject:Project,
41
41
privatevalscope:CodeAnalysisScope
42
42
) {
43
-
var projectRoot = project.guessProjectDir() ?: error("Cannot guess base directory for project ${project.name}")
43
+
var projectRoot = project.basePath?.let { Path.of(it) }?.toFile()?.toVirtualFile() ?:run {
44
+
project.guessProjectDir() ?: error("Cannot guess base directory for project ${project.name}")
0 commit comments