Skip to content

Commit

Permalink
fix: print queued pkg count instead of total
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Apr 9, 2022
1 parent 880af2a commit d893a7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/multiSemanticRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function multiSemanticRelease(
logger.success(`Loaded package ${pkg.name}`);
});

logger.complete(`Queued ${packages.length} packages! Starting release...`);
logger.complete(`Queued ${queue.length} packages! Starting release...`);

// Release all packages.
const createInlinePlugin = createInlinePluginCreator(packages, multiContext, flags);
Expand All @@ -103,10 +103,10 @@ async function multiSemanticRelease(
}

return m;
}, Promise.resolve(0));
}, 0);

// Return packages list.
logger.complete(`Released ${released} of ${packages.length} packages, semantically!`);
logger.complete(`Released ${released} of ${queue.length} packages, semantically!`);
return packages;
}

Expand Down

0 comments on commit d893a7f

Please sign in to comment.