From 1a6dd0d665ceb100a4f53b1c0077096231c16d2e Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 14 Jan 2016 03:51:38 +0000 Subject: [PATCH] Fix syncjslint warnings. --- exec/load/fidocfg.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exec/load/fidocfg.js b/exec/load/fidocfg.js index 74cefd6735..5de3849ca6 100644 --- a/exec/load/fidocfg.js +++ b/exec/load/fidocfg.js @@ -204,7 +204,7 @@ TickITCfg.prototype.save = function() for (i=0; i<sects.length; i++) tcfg.iniRemoveSection(sects[i]); tcfg.close(); -} +}; function FREQITCfg() { @@ -288,11 +288,11 @@ FREQITCfg.prototype.save = function() if (this.dirs.length > 0) fcfg.iniSetValue(null, 'Dirs', this.dirs.join(',')); else - fcfg.iniRemoveKey(section, 'Dirs'); + fcfg.iniRemoveKey(null, 'Dirs'); if (this.securedirs.length > 0) fcfg.iniSetValue(null, 'SecureDirs', this.securedirs.join(',')); else - fcfg.iniRemoveKey(section, 'SecureDirs'); + fcfg.iniRemoveKey(null, 'SecureDirs'); fcfg.iniSetValue(null, 'MaxFiles', this.maxfiles.toString()); sects = fcfg.iniGetSections().map(function(v){return v.toLowerCase();}); @@ -304,4 +304,4 @@ FREQITCfg.prototype.save = function() for (i=0; i<sects.length; i++) fcfg.iniRemoveSection(sects[i]); fcfg.close(); -} +}; -- GitLab