huskies: merge 865
This commit is contained in:
@@ -135,7 +135,7 @@ pub fn project_stage(view: &PipelineItemView) -> Result<Stage, ProjectionError>
|
||||
// Fall back to Coding if the field is absent (e.g. legacy frozen items).
|
||||
let resume_to = crate::db::read_content(&view.story_id)
|
||||
.and_then(|content| {
|
||||
crate::io::story_metadata::parse_front_matter(&content)
|
||||
crate::db::yaml_legacy::parse_front_matter(&content)
|
||||
.ok()
|
||||
.and_then(|m| m.resume_to_stage)
|
||||
.and_then(|dir| Stage::from_dir(&dir))
|
||||
|
||||
Reference in New Issue
Block a user