Commit c00d08f5 authored by Benjamin Gruenbaum's avatar Benjamin Gruenbaum Committed by Roman Reiss
Browse files

fs: remove unused branches

In a few places the code was refactored to use `maybeCallback` which
always returns a function. Checking for `if (callback)` always returns
true anyway.

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


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarthefourtheye <thechargingvolcano@gmail.com>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
parent 922d5389
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