From fa06020f64a04975ed088c0b43c82df4b30ac839 Mon Sep 17 00:00:00 2001 From: fewensa Date: Thu, 11 Apr 2024 04:44:12 +0000 Subject: [PATCH] =?UTF-8?q?Try=20fix=20Error:=20No=20quote=20function=20is?= =?UTF-8?q?=20defined:=20https://=C3=AF.at/no-quote-func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/register/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register/index.js b/src/register/index.js index abe60b4..30c511d 100644 --- a/src/register/index.js +++ b/src/register/index.js @@ -121,7 +121,7 @@ async function hashRegister(register) { for (const key of keys) { merged += register[key]; } - const hash = await $`echo "${merged}" | sha256sum | cut -d ' ' -f1`; + const hash = await $`echo ${merged} | sha256sum | cut -d ' ' -f1`; return { origin: merged, hash: hash.stdout.trim(),