https://pantsbuild.org/ logo
#general
Title
# general
p

proud-appointment-36730

06/23/2022, 7:44 PM
In general, when is it possible to use the
.add
feature for a list? I just ran into an issue where
.add
wasn't working in my
pants.ci.toml
for adding to the list of environment variables already defined in
pants.toml
in the case of
[docker].env_vars
🙌 1
2
h

happy-kitchen-89482

06/23/2022, 7:44 PM
It always works for list-typed options, but I think that option is dict-typed
p

proud-appointment-36730

06/23/2022, 7:45 PM
I think it's a list of strings no?
But that's a bit of a tangent. You answered the original question, so thanks!
h

happy-kitchen-89482

06/23/2022, 7:47 PM
Oh maybe I'm wrong
b

bitter-ability-32190

06/23/2022, 7:47 PM
What version are on?
h

happy-kitchen-89482

06/23/2022, 7:48 PM
You're right, it's a list
p

proud-appointment-36730

06/23/2022, 7:48 PM
I'm on
2.11.0
h

happy-kitchen-89482

06/23/2022, 7:48 PM
so it should work!
Bad news if it isn't
b

bitter-ability-32190

06/23/2022, 7:49 PM
@happy-kitchen-89482 When did your change go in, because I see this to on 2.11, so I suspect it was 2.12?
h

happy-kitchen-89482

06/23/2022, 7:50 PM
Ah, you're right
2.12 and up
🙏 2
3 Views