mirror of
https://github.com/denoland/deno.git
synced 2025-02-23 13:43:31 -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,
|
||||
isCharacterDevice: () => false,
|
||||
isSocket: () => false,
|
||||
ctime: origin.mtime,
|
||||
ctimeMs: origin.mtime?.getTime() || null,
|
||||
ctime: origin.ctime,
|
||||
ctimeMs: origin.ctime?.getTime() || null,
|
||||
});
|
||||
|
||||
return stats;
|
||||
|
|
Loading…
Add table
Reference in a new issue