huskies: merge 946
This commit is contained in:
@@ -20,7 +20,7 @@ mod tests_stage;
|
||||
///
|
||||
/// Returns `None` if the item is not in the CRDT or has no name set.
|
||||
pub fn read_story_name(_project_root: &Path, _stage: &str, item_id: &str) -> Option<String> {
|
||||
crate::crdt_state::read_item(item_id).and_then(|v| v.name().map(str::to_string))
|
||||
crate::crdt_state::read_item(item_id).map(|v| v.name().to_string())
|
||||
}
|
||||
|
||||
/// Look up a story name from the CRDT content store regardless of stage.
|
||||
|
||||
Reference in New Issue
Block a user