Skip to content

Commit 3bf301f

Browse files
committed
Merge branch 'ci/pre-commit-update'
2 parents cc30835 + 352337b commit 3bf301f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/set_push_chunks.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ elif [[ $LIB_CHANGED == 'true' ]]; then
2828
sketches="$networking_sketches $fs_sketches"
2929
for file in $LIB_FILES; do
3030
lib=$(echo $file | awk -F "/" '{print $1"/"$2}')
31-
if [[ "$file" == "*.ino" ]]; then
31+
if [[ "$file" == *.ino ]]; then
3232
# If file ends with .ino, add it to the list of sketches
3333
echo "Sketch found: $file"
3434
sketches+="$file "
35-
elif [[ "$file" == "$lib/src/*" ]]; then
35+
elif [[ "$file" == "$lib/src/"* ]]; then
3636
# If file is inside the src directory, find all sketches in the lib/examples directory
3737
echo "Library src file found: $file"
3838
if [[ -d $lib/examples ]]; then

0 commit comments

Comments
 (0)