Fix uninitialized my_array variable in the script Update dco_check.sh

Fix uninitialized my_array variable in the script

Signed-off-by: Dmitry <98899785+mdqst@users.noreply.github.com>
pull/7898/head
Dmitry 1 day ago committed by GitHub
parent ab12657f32
commit ea9824c449
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      scripts/dco_check.sh

@ -15,6 +15,7 @@
## ##
status=0 status=0
my_array=()
while IFS= read -r -a line; do while IFS= read -r -a line; do
my_array+=( "$line" ) my_array+=( "$line" )
done < <( git branch -r | grep -v origin/HEAD ) done < <( git branch -r | grep -v origin/HEAD )

Loading…
Cancel
Save