Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion bin/git-cz.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ var path = require('path');
process.on('uncaughtException', function (err) {
console.error(err.message || err);
process.exit(1);
})
});

// catch SIGINT signal
process.stdin.on('data', function (key) {
if (key == '\u0003') {
process.exit(1);
Comment thread
dmwelch marked this conversation as resolved.
Outdated
}
});

require('../dist/cli/git-cz.js').bootstrap({
cliPath: path.join(__dirname, '../')
Expand Down