Bläddra i källkod

Fix tuple deconstruction

febo 1 år sedan
förälder
incheckning
2052957fe0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      template/base/scripts/program/dump.mjs

+ 1 - 1
template/base/scripts/program/dump.mjs

@@ -29,7 +29,7 @@ async function dump() {
 
 
   // Copy the binaries from the chain or warn if they are different.
   // Copy the binaries from the chain or warn if they are different.
   await Promise.all(
   await Promise.all(
-    external.map(async (address, extension) => {
+    external.map(async ([address, extension]) => {
       const binary = `${address}.${extension}`;
       const binary = `${address}.${extension}`;
       const hasBinary = await fs.exists(`${outputDir}/${binary}`);
       const hasBinary = await fs.exists(`${outputDir}/${binary}`);