From: Ardis Lu Date: Sun, 19 Mar 2023 06:59:57 +0000 (-0700) Subject: Skip empty lines X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=54ddb895a7ae741554ac470ffe915f43cddc33a9;p=4-byte-gen Skip empty lines --- 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);