Skip to content

Commit

Permalink
fix: set array instead of pushing to it
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Sep 28, 2020
1 parent bf67f99 commit 1a06cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ for (let i = 0; i < documentItems.length; i++) {
documentItems = []

if (productionYaml !== undefined && productionYaml.contents !== null) {
documentItems.push(productionYaml.contents.items)
documentItems = productionYaml.contents.items
}

for (let i = 0; i < documentItems.length; i++) {
Expand Down

0 comments on commit 1a06cd1

Please sign in to comment.