Skip to content

Commit

Permalink
fix consistent return error
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerBarnes committed Feb 26, 2021
1 parent 94e2b79 commit 4c40b9c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const objectType = typeBuilderApi => {
// TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>)
// Also cause wordpress blog site build failure in createSchemaCustomization step
if (!transformedFields || !Object.keys(transformedFields).length) {
return
return false
}

let objectType = {
Expand Down

0 comments on commit 4c40b9c

Please sign in to comment.