• Marc Cornellà's avatar
    fix(cli): fix `commit.gpgsign` test in `omz pr test` · f1a5fb5e
    Marc Cornellà authored
    Since `set -e` is enabled, when `commit.gpgsign` is not set the
    `git config` command would show an error. Given that it is technically
    not ignored, the subshell would exit.
    
    With this change, the `commit.gpgsign` setting is properly tested
    by doing the fallback test if the command fails, so no exit status
    code ends up quiting the subshell.
    f1a5fb5e
Name
Last commit
Last update
.github Loading commit data...
cache Loading commit data...
custom Loading commit data...
lib Loading commit data...
log Loading commit data...
plugins Loading commit data...
templates Loading commit data...
themes Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.gitpod.Dockerfile Loading commit data...
.gitpod.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE.txt Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
oh-my-zsh.sh Loading commit data...