Skip to content

Commit

Permalink
Merge pull request #254 from XANTH-IO/fix/missing-device-list-creatio…
Browse files Browse the repository at this point in the history
…n-for-complex-devices-names

Better device name deletion method
  • Loading branch information
xanthio authored Jul 2, 2024
2 parents 6d5c31d + 8d7dc75 commit a9380a7
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 a9380a7

Please sign in to comment.