Skip to content

Commit 0bef83f

Browse files
committed
fix(archview): use module type option instead of type name
The moduleTypeName property was incorrect for displaying module types. Changed to use getOptionValue("type") which provides the accurate module type information.
1 parent 089c12d commit 0bef83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/cc/unitmesh/devti/bridge/archview/ContainerViewFunctionProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ContainerViewFunctionProvider : ToolchainFunctionProvider {
2121
): String {
2222
val modules = ModuleManager.getInstance(project).modules
2323
return "Here is current project modules:\n```\n" + modules.joinToString("\n") {
24-
"module: ${it.moduleTypeName} - ${it.name}"
24+
"module: ${it.getOptionValue("type")} - ${it.name}"
2525
} + "\n```"
2626
}
2727
}

0 commit comments

Comments
 (0)