-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…1697) * Wrap function to protect against nulls/undefined A simple solution for #1570. It feels like we could also just skip wrapping anything that isn't a function on L11, and immediately returning a no-op stop, but I was less comfortable making that change. * add unit tests for instrument method when null * fix type to allow null return * change to undefined and a clearer order * move test and rename
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters