#55 documentModes.onePerFile file loading should use yaml.load instead of yaml.loadAll

Отворено
отворено пре 2 година од towerofnix · 0 коментара
(quasar) nebula коментирира пре 2 година

There's already a manual catch for checking if there's more than one document in any file, but it would be better to just use yaml.load(), which automatically throws an error on multi-document files for us.

This isn't exactly a huge priority since there aren't any data files which use documentModes.onePerFile yet, though!

There's already a manual catch for checking if there's more than one document in any file, but it would be better to just use `yaml.load()`, which automatically throws an error on multi-document files for us. This isn't exactly a huge priority since there aren't any data files which *use* `documentModes.onePerFile` yet, though!
Пријавите се да се прикључе у овом разговору.
Нема фазе
Нема одговорних
1 учесника
Учитавање...
Откажи
Сачувај
Још нема садржаја.