Unverified Commit ae5e95f9 authored by Darshan Sen's avatar Darshan Sen Committed by James M Snell
Browse files

fs: refactor to remove redundant validation

The function makeCallback already calls validateCallback, so the call
inside copyFile can be removed.

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


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarAntoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarJuan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 3ec71143
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