chore(NA): remove signal preffix from trap in precommit hook script (#54863)

This commit is contained in:
Tiago Costa 2020-01-16 02:10:17 +00:00 committed by GitHub
parent 03570c2cf9
commit 8f07b6346a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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