fix: remove .toml from names, only 1 colon as sep
This commit is contained in:
parent
debccaf195
commit
d504c650dd
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ async fn run_collection_endpoints(
|
||||||
|
|
||||||
let task = async move {
|
let task = async move {
|
||||||
let before = chrono::Local::now();
|
let before = chrono::Local::now();
|
||||||
eprintln!(" : [{}] {_namespace}::{name} \tsending request...", before.format(fmt::TIMESTAMP_FMT));
|
eprintln!(" : [{}] {_namespace}:{name} \tsending request...", before.format(fmt::TIMESTAMP_FMT));
|
||||||
|
|
||||||
let res = if dry_run {
|
let res = if dry_run {
|
||||||
Ok("".to_string())
|
Ok("".to_string())
|
||||||
|
@ -211,7 +211,7 @@ fn load_collections(store: &mut IndexMap<String, PostWomanCollection>, mut path:
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
let name = path.to_string_lossy().to_string();
|
let name = path.to_string_lossy().replace(".toml", "");
|
||||||
let mut to_include = Vec::new();
|
let mut to_include = Vec::new();
|
||||||
|
|
||||||
if let Some(ref includes) = collection.include {
|
if let Some(ref includes) = collection.include {
|
||||||
|
|
Loading…
Reference in a new issue