From f92bca58fafdde9f412171d71611b1183f2fe95e Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Mon, 31 Oct 2022 01:01:56 -0400 Subject: [PATCH] Lines endings... --- ui/media/js/dnd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/media/js/dnd.js b/ui/media/js/dnd.js index f2602f6e..a2d51211 100644 --- a/ui/media/js/dnd.js +++ b/ui/media/js/dnd.js @@ -229,7 +229,7 @@ function parseTaskFromText(str) { // Prompt afterPromptRe.lastIndex = 0 - const match = afterPromptRe.exec(str); + const match = afterPromptRe.exec(str) if (match) { let prompt = str.slice(0, match.index) str = str.slice(prompt.length) @@ -263,7 +263,7 @@ function parseTaskFromText(str) { taskReqBody[key] = TASK_MAPPING[key].parse(val.trim()) console.log(TASK_MAPPING[key].name + ':', taskReqBody[key]) if (!str) { - break; + break } } }