From 48af87fc483f702f3b27c872fd12ca9e493166d5 Mon Sep 17 00:00:00 2001 From: julienbrs Date: Fri, 17 Nov 2023 16:50:51 +0100 Subject: [PATCH] final trigger --- .../cairo_cheatsheet/src/array_example.cairo | 1 - scripts/cairo_programs_verifier.sh | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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"