We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
path._makeLong
1 parent 5de3053 commit 492e3e3Copy full SHA for 492e3e3
1 file changed
lib/fs.js
@@ -2993,8 +2993,8 @@ function copyFile(src, dest, mode, callback) {
2993
src = getValidatedPath(src, 'src');
2994
dest = getValidatedPath(dest, 'dest');
2995
2996
- src = pathModule._makeLong(src);
2997
- dest = pathModule._makeLong(dest);
+ src = pathModule.toNamespacedPath(src);
+ dest = pathModule.toNamespacedPath(dest);
2998
mode = getValidMode(mode, 'copyFile');
2999
callback = makeCallback(callback);
3000
0 commit comments