From fd16aef1a89eb4e490fbf980ac26f8e0094b52eb Mon Sep 17 00:00:00 2001 From: Animesh Kumar Date: Sat, 6 Jul 2024 00:16:30 +0530 Subject: [PATCH] Update scripts/validation/embedded-examples-validation.js apply suggestion: https://github.com/asyncapi/spec/pull/1059#discussion_r1667056112 Co-authored-by: Sergio Moya <1083296+smoya@users.noreply.github.com> --- scripts/validation/embedded-examples-validation.js | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/validation/embedded-examples-validation.js b/scripts/validation/embedded-examples-validation.js index c9dc5964..d6672a9d 100644 --- a/scripts/validation/embedded-examples-validation.js +++ b/scripts/validation/embedded-examples-validation.js @@ -51,7 +51,6 @@ const combinedData = extractCommentsAndExamples(markdownContent); function applyUpdates(updates, baseDoc) { updates.forEach(update => { try { - const jsonPointerPath = update.json_pointer; // Handle root document case if (jsonPointerPath === '') {