Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ternary in Nan::MaybeLocal<T>::FromMaybe<S>().
Make both arms return the same type to avoid build errors when S != T. This works correctly in the V8 implementation of FromMaybe() but it didn't until now in the nan fallback for v0.10 and v0.12.
- Loading branch information