huskies: merge 951
This commit is contained in:
@@ -33,7 +33,7 @@ pub(crate) fn find_story_by_number(
|
||||
if let Some(items) = crate::crdt_state::read_all_items() {
|
||||
for item in items {
|
||||
if item.story_id().split('_').next().unwrap_or("") == number {
|
||||
let stage_dir = item.stage().as_dir().to_string();
|
||||
let stage_dir = item.stage().dir_name().to_string();
|
||||
let path = project_root
|
||||
.join(".huskies")
|
||||
.join("work")
|
||||
@@ -54,7 +54,7 @@ pub(crate) fn find_story_by_number(
|
||||
continue;
|
||||
}
|
||||
let stage_dir = crate::crdt_state::read_item(&id)
|
||||
.map(|v| v.stage().as_dir().to_string())
|
||||
.map(|v| v.stage().dir_name().to_string())
|
||||
.unwrap_or_else(|| "backlog".to_string());
|
||||
let path = project_root
|
||||
.join(".huskies")
|
||||
|
||||
Reference in New Issue
Block a user