diff --git a/listings/ch00-getting-started/cairo_cheatsheet/src/array_example.cairo b/listings/ch00-getting-started/cairo_cheatsheet/src/array_example.cairo index 974ec1c4..616701a0 100644 --- a/listings/ch00-getting-started/cairo_cheatsheet/src/array_example.cairo +++ b/listings/ch00-getting-started/cairo_cheatsheet/src/array_example.cairo @@ -2,7 +2,6 @@ mod arrayExample { #[storage] struct Storage {} - // Trigger ci #[external(v0)] diff --git a/scripts/cairo_programs_verifier.sh b/scripts/cairo_programs_verifier.sh index e77bff5b..7319643b 100755 --- a/scripts/cairo_programs_verifier.sh +++ b/scripts/cairo_programs_verifier.sh @@ -9,8 +9,7 @@ has_errors=false # function to list modified cairo files list_modified_cairo_files() { - merge_base=$(git merge-base main HEAD) - git diff --name-only "$merge_base" HEAD -- listings | grep -E 'listings/ch.*/*.cairo$' + git diff --name-only main...HEAD -- listings | grep -E 'listings/ch.*/*.cairo$' } echo "printing modified files"