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.
1 parent 01093b0 commit d1900f4Copy full SHA for d1900f4
lib/internal/fs/cp/cp-sync.js
@@ -26,7 +26,6 @@ const {
26
ERR_FS_EISDIR,
27
ERR_INVALID_RETURN_VALUE,
28
} = codes;
29
-const fs = require('fs');
30
const {
31
chmodSync,
32
copyFileSync,
@@ -39,15 +38,14 @@ const {
39
38
symlinkSync,
40
unlinkSync,
41
utimesSync,
42
-} = fs;
43
-const path = require('path');
+} = require('fs');
44
45
dirname,
46
isAbsolute,
47
join,
48
parse,
49
resolve,
50
-} = path;
+} = require('path');
51
const { isPromise } = require('util/types');
52
53
function cpSyncFn(src, dest, opts) {
0 commit comments