Skip to content

Commit 642a6ef

Browse files
make sure git diff doesn't print out with colors
1 parent a55b180 commit 642a6ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
return '"' + arg + '"'; // wrap parameters
4949
}).join(' ');
5050
} else {
51-
gitArgs = '-M -C HEAD';
51+
gitArgs = '-M -C --no-color HEAD';
5252
}
5353

5454
var diffCommand = 'git diff ' + gitArgs;

0 commit comments

Comments
 (0)