mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-10 20:55:07 +00:00
set cwd at local executor instead of base
This commit is contained in:
parent
1bf07741ab
commit
e52f03711b
@ -1,14 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var Steppy = require('twostep').Steppy,
|
||||
path = require('path'),
|
||||
_ = require('underscore'),
|
||||
EventEmitter = require('events').EventEmitter,
|
||||
inherits = require('util').inherits;
|
||||
|
||||
function Executor(params) {
|
||||
this.project = params.project;
|
||||
this.cwd = path.join(this.project.dir, 'workspace');
|
||||
}
|
||||
|
||||
exports.Executor = Executor;
|
||||
|
@ -6,10 +6,12 @@ var Steppy = require('twostep').Steppy,
|
||||
createScm = require('../scm').createScm,
|
||||
createCommand = require('../command').createCommand,
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
SpawnCommand = require('../command/spawn').Command;
|
||||
|
||||
function Executor(params) {
|
||||
ParentExecutor.call(this, params);
|
||||
this.cwd = path.join(this.project.dir, 'workspace');
|
||||
}
|
||||
|
||||
inherits(Executor, ParentExecutor);
|
||||
|
Loading…
Reference in New Issue
Block a user