Skip to content

Commit

Permalink
chore(NA): remove signal preffix from trap in precommit hook script (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic authored Jan 16, 2020
1 parent 03570c2 commit 8f07b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/register_git_hook/register_git_hook.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function getKbnPrecommitGitHookScript(rootPath, nodeHome, platform) {
# The correct exit code on that situation
# according the linux documentation project is 130
# https://www.tldp.org/LDP/abs/html/exitcodes.html
trap "exit 130" SIGINT
trap "exit 130" INT
has_node() {
command -v node >/dev/null 2>&1
Expand Down

0 comments on commit 8f07b63

Please sign in to comment.