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:
parent
317cee5636
commit
0ec51a198d
|
@ -1,5 +1,7 @@
|
||||||
var Constants = require('./constants.js');
|
'use strict';
|
||||||
var Path = require('./path.js');
|
|
||||||
|
const Constants = require('./constants.js');
|
||||||
|
const Path = require('./path.js');
|
||||||
|
|
||||||
// https://github.com/nodejs/node/blob/4f1297f259b09d129ac01afbd4c674263b7ac124/lib/internal/fs/utils.js#L231
|
// https://github.com/nodejs/node/blob/4f1297f259b09d129ac01afbd4c674263b7ac124/lib/internal/fs/utils.js#L231
|
||||||
function dateFromNumeric(num) {
|
function dateFromNumeric(num) {
|
||||||
|
|
Loading…
Reference in New Issue