Skip to content

Commit

Permalink
Bug fix. All components were marked as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhu Subramanian committed Oct 4, 2020
1 parent 2f1f562 commit 7e00dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ function addComponent(
impPkgs.includes("@" + group)
) {
compScope = "required";
} else {
} else if (impPkgs.length) {
compScope = "optional";
}
}
Expand Down

0 comments on commit 7e00dbc

Please sign in to comment.