#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 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。