Skip to content

Commit

Permalink
Better device name deletion method
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthio committed Jul 2, 2024
1 parent 346cad8 commit 8d7dc75
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ jobs:
echo "Device ${dev} is not supported"
else
echo "Device ${dev} is already supported"
MISSINGS=(${MISSINGS[@]/${dev}})
for i in "${!MISSINGS[@]}""; do
if [[ ${MISSINGS[i]} = ${dev} ]]; then
unset 'MISSINGS[i]'
fi
done
fi
done
if [ 0 -ne ${#MISSINGS[@]} ]; then
Expand Down

0 comments on commit 8d7dc75

Please sign in to comment.