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

fixed: Prevents sails from loading in interactive mode #1 #6

Merged
merged 1 commit into from
Apr 30, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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