Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit130a764

Browse files
committed
fix(AutoDevInputSection): handle empty file list in renderText
1 parent0d20d7c commit130a764

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎core/src/main/kotlin/cc/unitmesh/devti/gui/chat/ui/AutoDevInputSection.kt‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ class AutoDevInputSection(
4141
funrenderText():String {
4242
val inputText= inputControlsManager.renderText()
4343
val files= fileWorkspaceManager.renderText()
44-
return inputText+"\n"+ files
44+
returnif (files.isNotEmpty()) {
45+
inputText+"\n"+ files
46+
}else {
47+
inputText
48+
}
4549
}
4650

4751
funclearText() {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp