From 864dacc68309b7923d41a53296fa15977c886338 Mon Sep 17 00:00:00 2001 From: Balaji Alwar Date: Fri, 10 May 2024 16:48:05 -0700 Subject: [PATCH] Fixing indentation issue --- .github/workflows/test_notebooks.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_notebooks.yml b/.github/workflows/test_notebooks.yml index 06d486c..e7731b6 100644 --- a/.github/workflows/test_notebooks.yml +++ b/.github/workflows/test_notebooks.yml @@ -45,16 +45,15 @@ jobs: run: | for file in ${{ steps.changed-files.outputs.all_changed_files }}; do if [[ $file == *.ipynb ]]; then - if [ ! -f "${file}" ]; then + if [ ! -f "${file}" ]; then echo "No such file: '${file}'" exit 1 else echo "Converting: '${file}'" - jupyter nbconvert --to notebook --execute --inplace "$file" - fi + jupyter nbconvert --to notebook --execute --inplace "$file" + fi fi - - done + done - name: Check for errors run: |