Skip to content

Commit

Permalink
Fixes issue when there are project groups defined in 2020.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
rymek committed Dec 2, 2020
1 parent 6f8c9cf commit 2ab782f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/project/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const getProjectPaths = (productPath) => {
? application.component.option
: [];
// 2020.3+
if (typeof options === "object") {
if (!Array.isArray(options)) {
// if there are no project groups defined,
// there is only one entry in 2020.3+, so we change it into array
options = [options];
}
Expand Down

0 comments on commit 2ab782f

Please sign in to comment.