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

開啟中
towerofnix2 年之前創建 · 0 條評論

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 參與者
正在加載...
取消
保存
尚未有任何內容