mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
Update run_linter.sh (#3349)
Fix spelling error `notebooked` → `notebooks`
This commit is contained in:
@@ -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$')
|
||||||
|
|||||||
Reference in New Issue
Block a user