Skip to content
This repository has been archived by the owner on Dec 28, 2018. It is now read-only.

Commit

Permalink
Fix config variable exposing to global scope
Browse files Browse the repository at this point in the history
  • Loading branch information
pahan35 authored Nov 28, 2018
1 parent c7e50f9 commit 4a456f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sailsCacheman.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ var Cache = function (name) {
var _ = require('underscore');
var options = {};
// Get configuration
config = sails.config.cacheman;
var config = sails.config.cacheman;
if (config === undefined) {
throw new Error('No configuration file found. Please add the configuration app/config/cacheman.js');
}
Expand Down

0 comments on commit 4a456f4

Please sign in to comment.