Files
node/tools
Ruben Bridgewater 1a5f6705c6 tools: fix eslint isRequired
Currently the call can lead to a TypeError with the message:
`Cannot read property 'value' of undefined`.

This fixes it by first checking that the first argument is truthy.

PR-URL: https://github.com/nodejs/node/pull/18729
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2018-02-12 14:49:38 +01:00
..
2017-11-30 11:35:45 +01:00
2018-02-12 14:49:38 +01:00
2017-09-03 17:15:27 -04:00
2018-01-11 09:50:47 +01:00
2017-11-18 20:44:17 +01:00
…
2017-05-29 08:45:00 -07:00
2016-06-28 17:48:22 -04:00
2016-06-28 17:48:22 -04:00
2017-10-29 19:46:43 +01:00
2018-01-11 09:50:47 +01:00
2016-11-09 17:34:22 -05:00
…
2018-01-11 09:50:47 +01:00