Update run_linter.sh (#3349)

Fix spelling error `notebooked` → `notebooks`
This commit is contained in:
Holt Skinner
2024-07-29 15:48:53 +00:00
committed by GitHub
parent d24204a2f8
commit 7ea4669471
+1 -1
View File
@@ -58,7 +58,7 @@ done
# Only check notebooks in test folders modified in this pull request. # Only check notebooks in test folders modified in this pull request.
# Note: Use process substitution to persist the data in the array # Note: Use process substitution to persist the data in the array
if [ ${#notebooks[@]} -eq 0 ]; then if [ ${#notebooks[@]} -eq 0 ]; then
echo "Checking for changed notebooked using git" echo "Checking for changed notebooks using git"
while read -r file || [ -n "$line" ]; do while read -r file || [ -n "$line" ]; do
notebooks+=("$file") notebooks+=("$file")
done < <(git diff --name-only main... | grep '\.ipynb$') done < <(git diff --name-only main... | grep '\.ipynb$')