Skip to content

Commit

Permalink
fix: force option is incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
mob-sakai committed Oct 26, 2019
1 parent 7b3147e commit bc4d216
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const execa = require('execa');
* @returns A [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_childprocess), which is enhanced to also be a `Promise` for a result `Object` with `stdout` and `stderr` properties.
*/
async function git(args, execaOpts) {
args = args.filter(x => x);
const cwd = execaOpts ? execaOpts.cwd || process.cwd() : process.cwd();
debug(`${chalk.keyword('orange')(cwd)} > git ${args.join(' ')}`);

Expand Down

0 comments on commit bc4d216

Please sign in to comment.