Permalink
Browse files

also log in case generation doesn't work

  • Loading branch information...
1 parent 4360f2a commit c8586e0d61d6285b30c8d7d0d97588baffcc3984 @jlipps committed Apr 5, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 grunt-helpers.js
View
@@ -390,9 +390,12 @@ module.exports.generateAppiumIo = function(grunt, cb) {
} else {
grunt.log.write("Pushing changes to appium.io...");
var cmd = 'git commit -am "updating getting-started via grunt" && ' +
+ 'git pull --rebase origin master && ' +
'git push origin master';
- exec(cmd, {cwd: submod}, function(err) {
+ exec(cmd, {cwd: submod}, function(err, stdout, stderr) {
if (err) {
+ console.log(stdout);
+ console.log(stderr);
grunt.fatal(err);
} else {
grunt.log.write("success!");

0 comments on commit c8586e0

Please sign in to comment.