From 20639cf99785fc7db75cf0e8168572b8279b1f8a Mon Sep 17 00:00:00 2001 From: oleg Date: Sat, 9 Jan 2016 20:30:06 +0300 Subject: [PATCH] fix writing to db builds with project steps with cwd and options --- README.md | 1 + lib/executor/local.js | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1a2c45a..1c1cd6d 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,7 @@ animation" appear but should not. * ~~more strict server and project configs valifation~~ * ui browser tests needed * use one from: jquery or native browser methods +* cleanup project steps (remove cwd, options) inside build by migration ## Feature requests diff --git a/lib/executor/local.js b/lib/executor/local.js index cfd18be..6043cd1 100644 --- a/lib/executor/local.js +++ b/lib/executor/local.js @@ -110,8 +110,10 @@ Executor.prototype._getSources = function(params, callback) { ); }; -Executor.prototype._runStep = function(params, callback) { - var self = this; +Executor.prototype._runStep = function(step, callback) { + var self = this, + params = _(step).clone(); + Steppy( function() { if (params.type !== 'shell') {