From 86639340758f45ef16ce13f11b9d27d56999bfc4 Mon Sep 17 00:00:00 2001 From: Jason Casareno Date: Mon, 1 Aug 2022 17:18:56 -0700 Subject: [PATCH] Removed unecessary code --- packages/hoppscotch-app/components/smart/EnvInput.vue | 1 - packages/hoppscotch-data/src/environment.ts | 7 ------- 2 files changed, 8 deletions(-) diff --git a/packages/hoppscotch-app/components/smart/EnvInput.vue b/packages/hoppscotch-app/components/smart/EnvInput.vue index 1062780fa..81bc6bbdf 100644 --- a/packages/hoppscotch-app/components/smart/EnvInput.vue +++ b/packages/hoppscotch-app/components/smart/EnvInput.vue @@ -229,7 +229,6 @@ onMounted(() => { if (editor.value) { if (!view.value) initView(editor.value) } - console.log("editor.value", editor.value) }) watch(editor, () => { diff --git a/packages/hoppscotch-data/src/environment.ts b/packages/hoppscotch-data/src/environment.ts index d8db48a3a..9d79556d3 100644 --- a/packages/hoppscotch-data/src/environment.ts +++ b/packages/hoppscotch-data/src/environment.ts @@ -9,14 +9,7 @@ export type Environment = { }[] } -export type Variables = { - key: string - value: string - }[] - - const REGEX_ENV_VAR = /<<([^>]*)>>/g // "<>" -const REGEX_PATH_VAR = /{{([^}]*)}}/g // "{{myVariable}}" /** * How much times can we expand environment variables