mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
3ec71143f2
commit
ae5e95f9c5
1 file changed
-2