Skip to content

Commit 6e1056a

Browse files
author
Adam Rutland
committed
Don't add children of added parents before success
1 parent 3e8fd44 commit 6e1056a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/datapacksbuilder.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -820,8 +820,7 @@ DataPacksBuilder.prototype.getNextImports = function(importPath, jobInfo, curren
820820
if (jobInfo.currentStatus[parentKey] != null
821821
&& !(jobInfo.currentStatus[parentKey] == 'Success'
822822
|| jobInfo.currentStatus[parentKey] == 'Header'
823-
|| jobInfo.currentStatus[parentKey] == 'AddedHeader')
824-
&& currentDataPackKeysInImport[parentKey] != true) {
823+
|| jobInfo.currentStatus[parentKey] == 'AddedHeader')) {
825824
needsParents = true;
826825
}
827826
});

0 commit comments

Comments
 (0)