You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/12/13 17:55:32 UTC

[camel-karavan] branch main updated: fix #560

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a418ea  fix #560
1a418ea is described below

commit 1a418ea09bbc260aabb8010cac6b611591a0cfb2
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Tue Dec 13 12:55:25 2022 -0500

    fix #560
---
 karavan-vscode/src/jbang.ts | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/karavan-vscode/src/jbang.ts b/karavan-vscode/src/jbang.ts
index 49d48eb..e0ece00 100644
--- a/karavan-vscode/src/jbang.ts
+++ b/karavan-vscode/src/jbang.ts
@@ -60,16 +60,6 @@ export function camelJbangRun() {
     exec.execTerminalCommand("jbang-run", command);
 }
 
-export async function camelJbangExport(fullPath: string, run?: boolean) {
-    let command = createExportCommand(fullPath);
-    if (run) {
-        const runtime = await utils.getRuntime();
-        const mvn = runtime === 'quarkus' ? "quarkus:dev" : "spring-boot:run";
-        command = command.concat(" && mvn clean ").concat(mvn).concat(" -f ").concat(fullPath);
-    }
-    exec.execTerminalCommand("export", command);
-}
-
 export function createExportCommand(fullPath: string) {
     const kameletsPath: string | undefined = workspace.getConfiguration().get("Karavan.kameletsPath");
     const cmd = "export --fresh "