diff --git a/packages/tools/pie-monorepo-utils/changeset-snapshot/create-and-publish.js b/packages/tools/pie-monorepo-utils/changeset-snapshot/create-and-publish.js index 08a8254772..8bf655c8d2 100644 --- a/packages/tools/pie-monorepo-utils/changeset-snapshot/create-and-publish.js +++ b/packages/tools/pie-monorepo-utils/changeset-snapshot/create-and-publish.js @@ -9,7 +9,7 @@ module.exports = async ({ github, context }, execa) => { const newTags = Array .from(stdout.matchAll(/New tag:\s+([^\s\n]+)/g)) - .map(([tag]) => tag) + .map(([, tag]) => tag) .filter((tag) => !/^wc-.+$|pie-(monorepo|docs|storybook)/.test(tag)); let body; diff --git a/packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js b/packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js index e9ecfcefd4..acab1fa619 100644 --- a/packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js +++ b/packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js @@ -9,7 +9,7 @@ module.exports = async ({ github, context }, execa) => { const newTags = Array .from(stdout.matchAll(/New tag:\s+([^\s\n]+)/g)) - .map(([tag]) => tag) + .map(([, tag]) => tag) .filter((tag) => !/^wc-.+$|pie-(monorepo|docs|storybook)/.test(tag)); // Extract the snapshot version from one of the tags