From 70cbedb78389c73a1ea5d38ca5a16310e2702aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fl=C3=A1vio=20Caetano?= Date: Tue, 16 Jul 2019 17:53:54 -0300 Subject: [PATCH] fix(Style): fix indentation --- bin/ios-simulator-gif | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bin/ios-simulator-gif b/bin/ios-simulator-gif index 1ddc922..d0d1fc4 100755 --- a/bin/ios-simulator-gif +++ b/bin/ios-simulator-gif @@ -29,14 +29,14 @@ record() { ### Convert GIF ### ####################### convert_gif() { -echo "Converting and saving to ${FILE_NAME}\n" -ffmpeg -i /tmp/simulator.mov -vf $VIDEOFILTER -r $RATE -f $FORMAT -y $FILE_NAME $EXTRA &> /tmp/ffmpeg.log + echo "Converting and saving to ${FILE_NAME}\n" + ffmpeg -i /tmp/simulator.mov -vf $VIDEOFILTER -r $RATE -f $FORMAT -y $FILE_NAME $EXTRA &> /tmp/ffmpeg.log -if [[ $? -eq 0 ]]; then - echo "Gif saved to ${FILE_NAME}" -else - cat /tmp/ffmpeg.log -fi + if [[ $? -eq 0 ]]; then + echo "Gif saved to ${FILE_NAME}" + else + cat /tmp/ffmpeg.log + fi }