mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-21 13:51:05 -05:00
Fix script not catching exit code (#29)
This commit is contained in:
parent
bbdd4006fd
commit
ed2b6e9115
1 changed files with 4 additions and 0 deletions
|
@ -27,4 +27,8 @@ shopt -s globstar
|
|||
|
||||
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
|
||||
|
||||
exitcode=$?
|
||||
|
||||
shopt -u globstar
|
||||
|
||||
exit $exitcode
|
||||
|
|
Loading…
Reference in a new issue