From 8427f80f68618bdb12cd93e8cccac7d181aec337 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 25 Aug 2023 13:47:47 +0200 Subject: [PATCH] fix jq editor bar help --- frontend/src/lib/components/EditorBar.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/components/EditorBar.svelte b/frontend/src/lib/components/EditorBar.svelte index bf83a0c14c..4ac9787c0f 100644 --- a/frontend/src/lib/components/EditorBar.svelte +++ b/frontend/src/lib/components/EditorBar.svelte @@ -282,7 +282,7 @@ editor.insertAtCursor(`v, _ := wmill.GetVariable("${path}")`) } else if (lang == 'bash') { editor.insertAtCursor(`curl -s -H "Authorization: Bearer $WM_TOKEN" \\ - "$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/variables/get_value/${path} | jq -r ."`) + "$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/variables/get_value/${path}" | jq -r .`) } sendUserToast(`${name} inserted at cursor`) }}