1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix not also failing if tests failed

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-01-11 08:18:49 -05:00
parent 1c4d5ec24c
commit ace7a854fa

View File

@ -16,13 +16,15 @@ DEBUG=true yarn integration-runner
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
case $1 in case $1 in
mac) mac)
find ~/Library/Logs/Lens -type f -name *.log -exec cat {} \; find ~/Library/Logs/Lens -type f -name *.log -exec cat >&2 {} \;
;; ;;
linux) linux)
find ~/.config/Lens -type f -name *.log -exec cat {} \; find ~/.config/Lens -type f -name *.log -exec cat >&2 {} \;
;; ;;
win) win)
find %APPDATA%/Lens -type f -name *.log -exec cat {} \; find %APPDATA%/Lens -type f -name *.log -exec cat >&2 {} \;
;; ;;
esac esac
exit 1
fi fi