Skip to content

Commit

Permalink
Allow disabling node-continuation-local-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousben committed Jun 16, 2016
1 parent 42c83f6 commit aa2f95c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/loopback.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ loopback.template = function(file) {
});
};

require('../server/current-context')(loopback);
if (!process.loopbackClsDisabled) {
require('../server/current-context')(loopback);
}

/**
* Create a named vanilla JavaScript class constructor with an attached
Expand Down

0 comments on commit aa2f95c

Please sign in to comment.