spack/lib
Greg Becker f7195123d4 bugfix: do not write empty default dicts/lists in envs (#20526)
Environment yaml files should not have default values written to them.

To accomplish this, we change the validator to not add the default values to yaml. We rely on the code to set defaults for all values (and use defaulting getters like dict.get(key, default)).

Includes regression test.
2021-02-17 17:07:34 -08:00
..
spack bugfix: do not write empty default dicts/lists in envs (#20526) 2021-02-17 17:07:34 -08:00