Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbrs committed Nov 17, 2023
1 parent 5a707c2 commit 0a4af2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/cairo_programs_verifier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ has_errors=false

# function to list modified cairo files
list_modified_cairo_files() {
echo "git diff $(git diff --name-only main...HEAD -- programs | grep -E 'programs/ch.*/*.cairo$')"
git diff --name-only main...HEAD -- listings | grep -E 'listings/ch.*/*.cairo$'
}

Expand All @@ -31,7 +30,7 @@ process_file() {
modified_files=$(list_modified_cairo_files)
echo "modified files: are $modified_files"
for file in $modified_files; do
process_file "$file" &
process_file "$file"
done

wait # Wait for all background processes to finish
Expand Down

0 comments on commit 0a4af2e

Please sign in to comment.