Skip to content

tls: simplify setSecureContext() option parsing

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

The following pattern is redundant, so remove it:

if (options.foo !== undefined)
  this.foo = options.foo;
else
  this.foo = undefined;
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading