Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
* Fixed split when no data is available
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDead committed Aug 3, 2020
1 parent fb83c74 commit 2db0420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ module.exports = {
const {workspace} = await Project.find(configuration, this.context.cwd);

const dependencies = getDependencies(workspace);
const descriptors = getDescriptors(dependencies, this.exclude.split(" "));
const descriptors = getDescriptors(dependencies, this.exclude ? this.exclude.split(" ") : null);

const packageNames = descriptors.map(e => {
return resolveFullPackageName(e[1].scope, e[1].name);
Expand Down

0 comments on commit 2db0420

Please sign in to comment.