Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs: refactor to remove redundant validation
The function makeCallback already calls validateCallback, so the call inside copyFile can be removed. PR-URL: #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>
- Loading branch information