Skip to content

Commit

Permalink
Remove requirement to have dependency managers.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Aug 8, 2017
1 parent 2a4857d commit 52725c6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/utils/scenario-manager.js
Expand Up @@ -5,17 +5,6 @@ var RSVP = require('rsvp');
var mapSeries = require('promise-map-series');

module.exports = CoreObject.extend({
init: function() {
this._super.apply(this, arguments);
this._checkDependencyManagerAdapters();
},

_checkDependencyManagerAdapters: function() {
if (!this.dependencyManagerAdapters || this.dependencyManagerAdapters.length === 0) {
throw new Error('No dependency manager adapter');
}
},

setup: function() {
return mapSeries(this.dependencyManagerAdapters, function(depManager) {
return depManager.setup();
Expand Down

0 comments on commit 52725c6

Please sign in to comment.