Skip to content

Commit 6a703b9

Browse files
author
Ben Siggery
committed
fix linting
1 parent df2c412 commit 6a703b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/tools/pie-monorepo-utils/changeset-snapshot/test-aperture.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ module.exports = async ({ github, context }, execa) => {
1313
.filter((tag) => !/^wc-.+$|pie-(monorepo|docs|storybook)/.test(tag));
1414

1515
// Extract the snapshot version from one of the tags
16-
// eslint-disable-next-line prefer-destructuring
17-
const snapshotVersion = newTags[0].match(/\d{14}$/);
16+
const [snapshotVersion] = newTags[0].match(/\d{14}$/);
1817

1918
// Extract package names by removing version and scope from the tags
2019
const packageNames = newTags.map((tag) => `@justeattakeaway/${tag.match(/pie-[\w-]+/)[0]}`);

0 commit comments

Comments
 (0)