Resolve error "husky - commit-msg hook exited with code 1 (error)" on GUI Emacs I cannot commit to a certain OSS repo because the dumb-type terminal of my Emacs (GUI version) caused an error on githook script.