From 0654d1aa07a7c7f52e96f626ffa6875f064a984e Mon Sep 17 00:00:00 2001 From: Olivier 'reivilibre Date: Sun, 27 Nov 2022 00:02:33 +0000 Subject: [PATCH] Fix raker tools having wrong default config path --- quickpeep_raker/src/bin/qp-raker-db.rs | 2 +- quickpeep_raker/src/bin/qp-raker-onhold.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickpeep_raker/src/bin/qp-raker-db.rs b/quickpeep_raker/src/bin/qp-raker-db.rs index f6f49b8..79a12fe 100644 --- a/quickpeep_raker/src/bin/qp-raker-db.rs +++ b/quickpeep_raker/src/bin/qp-raker-db.rs @@ -46,7 +46,7 @@ pub async fn main() -> anyhow::Result<()> { let config_path = opts .config - .unwrap_or_else(|| PathBuf::from("qp_raker.toml")); + .unwrap_or_else(|| PathBuf::from("quickpeep.ron")); let config = config::RakerConfig::load(&config_path).context("Failed to load config")?; if !config.raker.workbench_dir.exists() { diff --git a/quickpeep_raker/src/bin/qp-raker-onhold.rs b/quickpeep_raker/src/bin/qp-raker-onhold.rs index cceb045..05bdb58 100644 --- a/quickpeep_raker/src/bin/qp-raker-onhold.rs +++ b/quickpeep_raker/src/bin/qp-raker-onhold.rs @@ -33,7 +33,7 @@ pub async fn main() -> anyhow::Result<()> { let config_path = opts .config - .unwrap_or_else(|| PathBuf::from("qp_raker.toml")); + .unwrap_or_else(|| PathBuf::from("quickpeep.ron")); let config = config::RakerConfig::load(&config_path).context("Failed to load config")?; if !config.raker.workbench_dir.exists() {