We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7660b0b + 2ed5b64 commit ac56329Copy full SHA for ac56329
lib/fetcher.js
@@ -437,6 +437,7 @@ class FetcherBase {
437
return {
438
cwd,
439
noChmod: true,
440
+ noMtime: true,
441
filter: (name, entry) => {
442
if (/Link$/.test(entry.type))
443
return false
test/fetcher.js
@@ -14,6 +14,19 @@ if (fakeSudo) {
14
fs.lchown = fakeChown('lchown')
15
}
16
17
+fs.utimes = () => {
18
+ throw new Error('do not call utimes')
19
+}
20
+fs.futimes = () => {
21
+ throw new Error('do not call futimes')
22
23
+fs.utimesSync = () => {
24
+ throw new Error('do not call utimesSync')
25
26
+fs.futimesSync = () => {
27
+ throw new Error('do not call futimesSync')
28
29
+
30
const { relative, resolve, basename } = require('path')
31
const t = require('tap')
32
const me = t.testdir()
0 commit comments