From dc5b403b6ac2afbc091ad16ca8de89427d4b13c2 Mon Sep 17 00:00:00 2001 From: Davior Coder <148337509+chandanbcbt@users.noreply.github.com> Date: Mon, 22 Jan 2024 07:57:03 +0530 Subject: [PATCH] Update generateCode.ts --- plugin/src/generateCode.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugin/src/generateCode.ts b/plugin/src/generateCode.ts index 1aa768673..0bcb7ce6b 100644 --- a/plugin/src/generateCode.ts +++ b/plugin/src/generateCode.ts @@ -75,6 +75,12 @@ export function mergeContents({ return { contents: src, didClear: false, didMerge: false }; } +export functiion getContent(tag) { + if (!tag) { + throw new Error('Tag is missing') + } +} + export function removeContents({ src, tag,