Summary:
When running the "Populate Workspace" command with a config that does not declare any subsites, I receive the following error:
TypeError: Cannot read properties of undefined (reading 'length')
Steps to Reproduce:
- Use a valid
spgo.json that does not include a subSites property (no subsites).
- Run the "Populate local Workspace" command.
Expected Behavior:
Workspace populates successfully, even if no subsites are configured.
Actual Behavior:
The command fails with the above TypeError.
@chrishasz Please help to resolve this issue.
Summary:
When running the "Populate Workspace" command with a config that does not declare any subsites, I receive the following error:
Steps to Reproduce:
spgo.jsonthat does not include asubSitesproperty (no subsites).Expected Behavior:
Workspace populates successfully, even if no subsites are configured.
Actual Behavior:
The command fails with the above
TypeError.@chrishasz Please help to resolve this issue.