Skip to content

Commit

Permalink
added debuging for cwd during git pull.
Browse files Browse the repository at this point in the history
  • Loading branch information
maks committed Dec 6, 2011
1 parent 9a8edb3 commit aacf44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ function sendResponse(processedOk, messageText) {
//and then execute an npm install
function deploy(projectName) {

log.info('doing pull and npm');
options.cwd = path.join(process.env.DEPLOY_PATH, projectName);
log.info('doing pull and npm, cwd:'+options.cwd);
exec(command, options, function(error, stdout, stderr) {
if (error) {
return log.error(command, {
Expand Down

0 comments on commit aacf44a

Please sign in to comment.