Skip to content

Commit

Permalink
Fix project association on missing global crunchbase
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed May 3, 2023
1 parent 7a983a6 commit be28448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generateJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ async function main () {
if (item.member) {
return {relation: 'member', isSubsidiaryProject: false};
}
if (item.crunchbase === settings.global.self) {
if (item.crunchbase === settings.global.self && settings.global.self != null) {
return {relation: 'member', isSubsidiaryProject: true};
}
return {relation: false, isSubsidiaryProject: false};
Expand Down

0 comments on commit be28448

Please sign in to comment.