Skip to content

Commit

Permalink
Try fix Error: No quote function is defined: https://ï.at/no-quote-func
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Apr 11, 2024
1 parent 05fc375 commit fa06020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/register/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit fa06020

Please sign in to comment.