mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2024-11-24 15:21:04 -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:-.}
|
yamllint "${options[@]}" ${INPUT_FILE_OR_DIR:-.}
|
||||||
|
|
||||||
|
exitcode=$?
|
||||||
|
|
||||||
shopt -u globstar
|
shopt -u globstar
|
||||||
|
|
||||||
|
exit $exitcode
|
||||||
|
|
Loading…
Reference in a new issue