We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba7eeb6 commit 95a20d4Copy full SHA for 95a20d4
bin/git-cz.js
@@ -3,7 +3,14 @@ var path = require('path');
3
process.on('uncaughtException', function (err) {
4
console.error(err.message || err);
5
process.exit(1);
6
-})
+});
7
+
8
+// catch SIGINT signal
9
+process.stdin.on('data', function (key) {
10
+ if (key == '\u0003') {
11
+ process.exit(130); // 128 + SIGINT
12
+ }
13
14
15
require('../dist/cli/git-cz.js').bootstrap({
16
cliPath: path.join(__dirname, '../')
0 commit comments