mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-02-05 07:30:15 +00:00
21 lines
389 B
JavaScript
21 lines
389 B
JavaScript
|
'user strict';
|
||
|
|
||
|
var inherits = require('util').inherits,
|
||
|
ParentNode = require('./base').Node,
|
||
|
LocalExecutor = require('../executor/local').Executor;
|
||
|
|
||
|
function Node(params) {
|
||
|
ParentNode.call(this, params);
|
||
|
}
|
||
|
|
||
|
inherits(Node, ParentNode);
|
||
|
|
||
|
exports.Node = Node;
|
||
|
|
||
|
Node.prototype._createExecutor = function(project) {
|
||
|
return new LocalExecutor({
|
||
|
type: this.type,
|
||
|
project: project
|
||
|
});
|
||
|
};
|