From 54ddb895a7ae741554ac470ffe915f43cddc33a9 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 18 Mar 2023 23:59:57 -0700 Subject: [PATCH] Skip empty lines --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index ddb1cec..56f2c2e 100644 --- a/index.html +++ b/index.html @@ -120,6 +120,9 @@ for (let fn of fns) { fn = fn.trim(); + if (fn === '') { + continue; + } const { name, parametersTypes } = splitFunction(fn); const { functionName, hash } = calculateOptimizedName(name, parametersTypes, minimum); console.log(functionName, hash); -- 2.47.3