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

Commit

Permalink
Merge pull request #6 from lama-media/master
Browse files Browse the repository at this point in the history
fixed: Prevents sails from loading in interactive mode #1
  • Loading branch information
gayanhewa authored Apr 30, 2017
2 parents 28e1ad6 + 7492dad commit d0cbb35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/sailsCacheman.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@

var Cache = function (name) {
var Cacheman = require('cacheman');
var Sails = require('sails');
var _ = require('underscore');
var options = {};
// Get configuration
config = Sails.config.cacheman;
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 d0cbb35

Please sign in to comment.