Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Don't throw when 'releases' is undefined
In case `versions.json` could not be properly downloaded/parsed by 'node-version-data', avoid `TypeError: Cannot read property 'find' of undefined` when `releases` is `undefined` and return `undefined` instead. Error should be handled properly elsewhere. See: #1618
- Loading branch information