From aa490a43cf2a0f666edb327914f24617480ed70a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 24 Aug 2023 01:50:33 +0200 Subject: [PATCH] nit fix --- frontend/src/lib/components/EditorBar.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/lib/components/EditorBar.svelte b/frontend/src/lib/components/EditorBar.svelte index f9a97c367f..d9706ce533 100644 --- a/frontend/src/lib/components/EditorBar.svelte +++ b/frontend/src/lib/components/EditorBar.svelte @@ -339,8 +339,7 @@ editor.insertAtCursor(`r, _ := wmill.GetResource("${path}")`) } else if (lang == 'bash') { editor.insertAtCursor(`curl -s -H "Authorization: Bearer $WM_TOKEN" \\ - "$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/resources/get_value_interpolated/${path}" \\ - | jq`) + "$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/resources/get_value_interpolated/${path}" | jq`) } sendUserToast(`${path} inserted at cursor`) }}