Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed May 5, 2024
1 parent 064f1f1 commit 2ad385b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/packages.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const directory = pathJoin(__dirname, '..', 'packages');

const andReg = /^(.*)-([\d.]+)-and-([\d.]+|higher)$/;

const misplacedChilds = new Set([
const misplacedChildren = new Set([
'flash-player-2-java',
'flash-player-9.0.262.0-linux-sa'
]);
Expand Down Expand Up @@ -118,7 +118,7 @@ export async function readPackageFile(f) {
}
}

if (!prefixed && !misplacedChilds.has(name)) {
if (!prefixed && !misplacedChildren.has(name)) {
throw new Error(`Package in wrong file: ${name}: ${f}`);
}
}
Expand Down

0 comments on commit 2ad385b

Please sign in to comment.