First pass formatting with Prettier
* Added .prettierrc.json * Added .prettierignore * Formatted
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/* jslint node: true */
|
||||
'use strict';
|
||||
|
||||
const StatLog = require('./stat_log.js');
|
||||
const SysProps = require('./system_property.js');
|
||||
const StatLog = require('./stat_log.js');
|
||||
const SysProps = require('./system_property.js');
|
||||
|
||||
exports.dailyMaintenanceScheduledEvent = dailyMaintenanceScheduledEvent;
|
||||
|
||||
@@ -10,7 +10,7 @@ function dailyMaintenanceScheduledEvent(args, cb) {
|
||||
//
|
||||
// Various stats need reset daily
|
||||
//
|
||||
[ SysProps.LoginsToday, SysProps.MessagesToday ].forEach(prop => {
|
||||
[SysProps.LoginsToday, SysProps.MessagesToday].forEach(prop => {
|
||||
StatLog.setNonPersistentSystemStat(prop, 0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user