Skip to content

Commit

Permalink
fix(block): Include disabled modules in "Modules by ID" output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jwalton committed Feb 2, 2022
1 parent 934b5ad commit 2f1343c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/kitsch/modules/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ func (mod BlockModule) Execute(context *Context) ModuleResult {

if len(result.Text) != 0 {
resultsArray = append(resultsArray, result)
if wrapper.config.ID != "" {
resultsByID[wrapper.config.ID] = result
}
}
if wrapper.config.ID != "" {
resultsByID[wrapper.config.ID] = result
}
}

Expand Down

0 comments on commit 2f1343c

Please sign in to comment.