Fix qp-index-search looking in wrong place for config
This commit is contained in:
		
							parent
							
								
									9dc49f12bd
								
							
						
					
					
						commit
						dba851879b
					
				@ -26,7 +26,7 @@ pub fn main() -> anyhow::Result<()> {
 | 
			
		||||
 | 
			
		||||
    let config_path = opts
 | 
			
		||||
        .config
 | 
			
		||||
        .unwrap_or_else(|| PathBuf::from("qp_indexer.toml"));
 | 
			
		||||
        .unwrap_or_else(|| PathBuf::from("quickpeep.ron"));
 | 
			
		||||
    let config = IndexerConfig::load(&config_path).context("Failed to load config")?;
 | 
			
		||||
 | 
			
		||||
    let indexer_backend = config.open_indexer_backend()?;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user