Skip to content

Commit

Permalink
Add support for location in git.commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlacy committed Apr 27, 2018
1 parent dabbff9 commit fc3ca0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ module.exports = function(message, opt) {
if (writeStdin) {
cmd += ' -F -';
}
cmd += ' .';

var execChildProcess = exec(cmd, opt, function(err, stdout, stderr) {
if (err && (String(stdout).indexOf('no changes added to commit') === 0)) return cb(err);
Expand Down

0 comments on commit fc3ca0d

Please sign in to comment.