From e7540de85d6ca450c936c70469eab662d1e4f349 Mon Sep 17 00:00:00 2001 From: Hiroyasu Nishiyama Date: Wed, 25 Jan 2023 16:40:12 +0900 Subject: [PATCH] remove useless variable --- .../@node-red/editor-client/src/js/ui/editors/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/markdown.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/markdown.js index 5c0698ee0..2d5368e96 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editors/markdown.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editors/markdown.js @@ -54,7 +54,7 @@ var name = file.name.toLowerCase(); if (name.match(/\.(apng|avif|gif|jpeg|png|svg|webp)$/)) { - var image = file2base64Image(file, function (image) { + file2base64Image(file, function (image) { var session = currentEditor.getSession(); var img = `\n`; var pos = session.getCursorPosition();