From ac99c93b93db6527779234ebc52a6dc8b5575e88 Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Thu, 21 Nov 2024 19:58:21 +0800 Subject: [PATCH] refactor(task): enable codeOnly mode for Dockerfile generation task --- .../cc/unitmesh/devti/actions/GenerateDockerfileAction.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/cc/unitmesh/devti/actions/GenerateDockerfileAction.kt b/core/src/main/kotlin/cc/unitmesh/devti/actions/GenerateDockerfileAction.kt index 18a7bee36..0b5f1778c 100644 --- a/core/src/main/kotlin/cc/unitmesh/devti/actions/GenerateDockerfileAction.kt +++ b/core/src/main/kotlin/cc/unitmesh/devti/actions/GenerateDockerfileAction.kt @@ -23,7 +23,7 @@ class GenerateDockerfileAction : AnAction("Generate Dockerfile") { val msgs = templateRender.buildMsgs(template) - val task: Task.Backgroundable = FileGenerateTask(project, msgs, "Dockerfile") + val task: Task.Backgroundable = FileGenerateTask(project, msgs, "Dockerfile", codeOnly = true) ProgressManager.getInstance() .runProcessWithProgressAsynchronously(task, BackgroundableProcessIndicator(task)) }