Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudCannonGeorge committed Apr 5, 2022
1 parent ba29af7 commit a9142d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collections.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function collectionConfigSubtasks(collectionKey, collectionConfig) {
const tasks = [];

taskGroups.forEach((task) => {
const complete = task.expectedKeys.reduce((memo, key) => memo || collectionConfig[key], false);
const complete = task.expectedKeys.reduce((memo, key) => memo || collectionConfig?.[key], false);
tasks.push({
id: `_collection_config.${collectionKey}.${task.id}`,
level: task.level,
Expand Down

0 comments on commit a9142d2

Please sign in to comment.