spack/lib
Greg Becker 6947951aaf
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.
2020-12-23 20:29:38 -08:00
..
spack bugfix: do not write empty default dicts/lists in envs (#20526) 2020-12-23 20:29:38 -08:00