Skip to content

Commit

Permalink
Properly handle empty module list when beacon setting is present.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirkMcDonald committed Oct 20, 2024
1 parent 6a7a81b commit 68767ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ function renderModules(settings) {
let moduleSpec = spec.getModuleSpec(recipe)
for (let i = 0; i < moduleKeyList.length; i++) {
let moduleKey = moduleKeyList[i]
if (moduleKey === "") {
continue
}
let module = getModule(moduleKey)
if (module !== undefined) {
moduleSpec.setModule(i, module)
Expand Down

0 comments on commit 68767ea

Please sign in to comment.