Remove unnecesary variable in health check
This commit is contained in:
@@ -43,8 +43,7 @@ HealthCheck.prototype.check = function(config, callback) {
|
||||
|
||||
step(
|
||||
function getManualDisable() {
|
||||
disabled_file = global.environment.disabled_file;
|
||||
fs.readFile(disabled_file, this);
|
||||
fs.readFile(global.environment.disabled_file, this);
|
||||
},
|
||||
function handleDisabledFile(err, data) {
|
||||
var next = this;
|
||||
|
||||
Reference in New Issue
Block a user