mirror of
https://github.com/denoland/deno.git
synced 2025-02-24 06:02:18 -05:00
Fix node compact layer ctime to use ctime instead of mtime
This commit is contained in:
parent
a939477f46
commit
789e7dda05
1 changed files with 2 additions and 2 deletions
|
@ -290,8 +290,8 @@ export function convertFileInfoToStats(origin: Deno.FileInfo): Stats {
|
||||||
isFIFO: () => false,
|
isFIFO: () => false,
|
||||||
isCharacterDevice: () => false,
|
isCharacterDevice: () => false,
|
||||||
isSocket: () => false,
|
isSocket: () => false,
|
||||||
ctime: origin.mtime,
|
ctime: origin.ctime,
|
||||||
ctimeMs: origin.mtime?.getTime() || null,
|
ctimeMs: origin.ctime?.getTime() || null,
|
||||||
});
|
});
|
||||||
|
|
||||||
return stats;
|
return stats;
|
||||||
|
|
Loading…
Add table
Reference in a new issue