Skip to content

Commit

Permalink
also log in case generation doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Apr 5, 2013
1 parent 4360f2a commit c8586e0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grunt-helpers.js
Expand Up @@ -390,9 +390,12 @@ module.exports.generateAppiumIo = function(grunt, cb) {
} else { } else {
grunt.log.write("Pushing changes to appium.io..."); grunt.log.write("Pushing changes to appium.io...");
var cmd = 'git commit -am "updating getting-started via grunt" && ' + var cmd = 'git commit -am "updating getting-started via grunt" && ' +
'git pull --rebase origin master && ' +
'git push origin master'; 'git push origin master';
exec(cmd, {cwd: submod}, function(err) { exec(cmd, {cwd: submod}, function(err, stdout, stderr) {
if (err) { if (err) {
console.log(stdout);
console.log(stderr);
grunt.fatal(err); grunt.fatal(err);
} else { } else {
grunt.log.write("success!"); grunt.log.write("success!");
Expand Down

0 comments on commit c8586e0

Please sign in to comment.