Skip to content

net: use strict comparisons for fd

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/net into master

This commit removes an eslint-disable comment, and moves file descriptor checks to use strict equality. These checks were using loose equality to support numeric and string file descriptors. However, d9e95d89 introduced strict validation, making the loose equality checks redundant.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading