nci/lib/scm/index.js

7 lines
142 B
JavaScript
Raw Normal View History

'use strict';
2014-12-02 21:09:05 +00:00
exports.createScm = function(params) {
var Constructor = require('./' + params.type).Scm;
2014-12-02 21:09:05 +00:00
return new Constructor(params);
};