Commit db0b75c8 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

DelegatorsParam: Setter: Refactor delegators



This commit refactors the setter in DelegatorsParam so that it uses a
more understandable code style.

Replacing the foreach with a single if statement which uses Array.every,
and then using Array.map as well as a prepared string to make the
paramValues for the generator function.
Reported-by: Akshay Karthik's avatarAkshay Karthik <akshay.karthik@gmail.com>
Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
parent 4a82e831
Pipeline #1173 passed with stages
in 54 seconds