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>
parent
3ec71143
Please register or sign in to comment