Skip to content

Commit ba5e1ca

Browse files
committed
fix: adjust dir
1 parent bd56a98 commit ba5e1ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/unpublish.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ const DELETE_PACKAGES = process.env.DELETE_PACKAGES === 'true';
1111
const dryRun = DELETE_PACKAGES ? '' : '--dry-run';
1212

1313
async function getPublicPackages() {
14-
const packages = await readdir(join(__dirname, '../packages'), {
14+
const base = join(__dirname, '../packages');
15+
const packages = await readdir(base, {
1516
withFileTypes: true,
1617
});
18+
1719
const packagesNames = await Promise.all(
1820
packages.map(async (p) => {
1921
try {

0 commit comments

Comments
 (0)