Skip to content

Commit ac99c93

Browse files
committed
refactor(task): enable codeOnly mode for Dockerfile generation task
1 parent 5fae9d7 commit ac99c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/cc/unitmesh/devti/actions/GenerateDockerfileAction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class GenerateDockerfileAction : AnAction("Generate Dockerfile") {
2323

2424
val msgs = templateRender.buildMsgs(template)
2525

26-
val task: Task.Backgroundable = FileGenerateTask(project, msgs, "Dockerfile")
26+
val task: Task.Backgroundable = FileGenerateTask(project, msgs, "Dockerfile", codeOnly = true)
2727
ProgressManager.getInstance()
2828
.runProcessWithProgressAsynchronously(task, BackgroundableProcessIndicator(task))
2929
}

0 commit comments

Comments
 (0)