Skip to content

Commit

Permalink
Don't add children of added parents before success
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Rutland committed Jan 17, 2022
1 parent 3e8fd44 commit 6e1056a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/datapacksbuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,7 @@ DataPacksBuilder.prototype.getNextImports = function(importPath, jobInfo, curren
if (jobInfo.currentStatus[parentKey] != null
&& !(jobInfo.currentStatus[parentKey] == 'Success'
|| jobInfo.currentStatus[parentKey] == 'Header'
|| jobInfo.currentStatus[parentKey] == 'AddedHeader')
&& currentDataPackKeysInImport[parentKey] != true) {
|| jobInfo.currentStatus[parentKey] == 'AddedHeader')) {
needsParents = true;
}
});
Expand Down

0 comments on commit 6e1056a

Please sign in to comment.