We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd56a98 commit ba5e1caCopy full SHA for ba5e1ca
scripts/unpublish.js
@@ -11,9 +11,11 @@ const DELETE_PACKAGES = process.env.DELETE_PACKAGES === 'true';
11
const dryRun = DELETE_PACKAGES ? '' : '--dry-run';
12
13
async function getPublicPackages() {
14
- const packages = await readdir(join(__dirname, '../packages'), {
+ const base = join(__dirname, '../packages');
15
+ const packages = await readdir(base, {
16
withFileTypes: true,
17
});
18
+
19
const packagesNames = await Promise.all(
20
packages.map(async (p) => {
21
try {
0 commit comments