Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit fdf9cfd

Browse files
committed
Remove number assignment to Date properties
The properties of Stat with Date type were being assigned numbers, which caused compile warnings. Remove the unnecessary assignment. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
1 parent 67e8321 commit fdf9cfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -585,17 +585,17 @@ fs.Stats.prototype.blocks = 0;
585585
/**
586586
* @type {Date}
587587
*/
588-
fs.Stats.prototype.atime = 0;
588+
fs.Stats.prototype.atime;
589589

590590
/**
591591
* @type {Date}
592592
*/
593-
fs.Stats.prototype.mtime = 0;
593+
fs.Stats.prototype.mtime;
594594

595595
/**
596596
* @type {Date}
597597
*/
598-
fs.Stats.prototype.ctime = 0;
598+
fs.Stats.prototype.ctime;
599599

600600
/**
601601
* @param {string} path

0 commit comments

Comments
 (0)