2.0 Refactor #2

Merged
joe merged 16 commits from ci into main 2022-09-25 18:06:35 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 1fbba62f8e - Show all commits

View File

@ -16,7 +16,8 @@ async fn main() {
}
pub async fn run() -> anyhow::Result<()> {
let cfg_path = find_config("conductor.yml").unwrap();
let cfg_path = find_config("conductor.yml")
.ok_or_else(|| anyhow::anyhow!("No config file found. Create a conductor.yml.\nSee http://conductor.5sigma.io/articles/config"))?;
std::env::set_current_dir(cfg_path.parent().unwrap())?;