Commit d13b9d3f authored by Evan Lucas's avatar Evan Lucas
Browse files

doc: fix exec example in child_process

Previously, the example was checking for error by strict equality to
null. The error could be undefined though which would fail that check.

PR-URL: https://github.com/nodejs/node/pull/6660


Reviewed-By: default avatarMyles Borins <myles.borins@gmail.com>
Reviewed-By: default avatarJeremy Whitlock <jwhitlock@apache.org>
parent a661e263
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment