Fix for issue-670: Changed var to const (#687)

* Changed var to const

* Added 'use strict' to top of file

* Update stats.js

* Update stats.js
This commit is contained in:
Alvin Valdez 2019-02-05 14:38:59 -05:00 committed by David Humphrey
parent 317cee5636
commit 0ec51a198d
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
var Constants = require('./constants.js');
var Path = require('./path.js');
'use strict';
const Constants = require('./constants.js');
const Path = require('./path.js');
// https://github.com/nodejs/node/blob/4f1297f259b09d129ac01afbd4c674263b7ac124/lib/internal/fs/utils.js#L231
function dateFromNumeric(num) {