webpack-hot-client icon indicating copy to clipboard operation
webpack-hot-client copied to clipboard

fix for newer node versions

Open mattkrick opened this issue 4 years ago • 1 comments

node now guarantees that the errorno is numeric: https://github.com/nodejs/node/commit/1432065e9dc77218507f328b63cb7f5d279dd6e9

since that enum could change, let's just check the code. keep the old errono for backwards compat

This PR contains a:

  • [x] bugfix
  • [ ] new feature
  • [ ] code refactor
  • [ ] test update
  • [ ] typo fix
  • [ ] metadata update

Motivation / Use-Case

too much junk in stdout

Breaking Changes

none

Additional Info

mattkrick avatar Apr 14 '20 18:04 mattkrick

CLA assistant check
All committers have signed the CLA.

jsf-clabot avatar Apr 14 '20 18:04 jsf-clabot