Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Fix hook strict return on undefined returns #251

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

cartogram
Copy link
Contributor

@cartogram cartogram commented Apr 26, 2019

Sometimes hooks return undefined. In these cases, the argument is null explicitly, and the hook is valid according to this rule. This PR adds an early return to accommodate this type of hook.

@cartogram cartogram merged commit a94bed7 into master Apr 27, 2019
cartogram pushed a commit that referenced this pull request Apr 27, 2019
@cartogram cartogram deleted the fix-hook-strict-return branch April 27, 2019 18:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant