Vars += config

Hey guys…

Stupid question…

What’s the purpose of vars += config

I have it in a config we probably took somewhere a while back!

Hello @10RUPTiV!

Given:

vars.foo = 1

vars += { bar = 2 }

… vars becomes:

{
  foo = 1
  bar = 2
}

Best,
AK

1 Like