huskies: merge 865
This commit is contained in:
@@ -185,7 +185,7 @@ pub fn get_work_item_content(
|
||||
|
||||
for (stage_dir, stage_name) in &stages {
|
||||
if let Some(content) = io::read_work_item_from_stage(&work_dir, stage_dir, &filename)? {
|
||||
let metadata = crate::io::story_metadata::parse_front_matter(&content).ok();
|
||||
let metadata = crate::db::yaml_legacy::parse_front_matter(&content).ok();
|
||||
return Ok(WorkItemContent {
|
||||
content,
|
||||
stage: stage_name.to_string(),
|
||||
@@ -215,7 +215,7 @@ pub fn get_work_item_content(
|
||||
})
|
||||
.unwrap_or("unknown")
|
||||
.to_string();
|
||||
let metadata = crate::io::story_metadata::parse_front_matter(&content).ok();
|
||||
let metadata = crate::db::yaml_legacy::parse_front_matter(&content).ok();
|
||||
return Ok(WorkItemContent {
|
||||
content,
|
||||
stage,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
//! side effects: reading from the CRDT content store, loading configuration,
|
||||
//! and spawning the background listener task.
|
||||
|
||||
use crate::io::story_metadata::parse_front_matter;
|
||||
use crate::db::yaml_legacy::parse_front_matter;
|
||||
use std::path::Path;
|
||||
|
||||
mod listener;
|
||||
|
||||
Reference in New Issue
Block a user