Fix raker tools having wrong default config path

This commit is contained in:
Olivier 'reivilibre' 2022-11-27 00:02:33 +00:00
parent 4bba2fc89b
commit 0654d1aa07
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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() {