Skip to content

Commit

Permalink
fix(resolver): resolve for nullable property
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinCK committed Jan 10, 2019
1 parent 9542de0 commit ce97ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Resolver {

propertyList[key] = `@${reference}`;
dependencies.push(reference);
} else if (typeof value === 'object') {
} else if (typeof value === 'object' && value !== value) {
dependencies.push(...this.resolveDependencies(parentReferenceName, value));
}
}
Expand Down

0 comments on commit ce97ba3

Please sign in to comment.