make cargo backend use .crates2.json file
This commit is contained in:
+1
-1
@@ -24,6 +24,6 @@ fn get_xdg_config_home() -> Result<PathBuf> {
|
||||
}
|
||||
}
|
||||
|
||||
fn get_home_dir() -> Result<PathBuf> {
|
||||
pub(crate) fn get_home_dir() -> Result<PathBuf> {
|
||||
Ok(env::var("HOME").context("getting $HOME variable")?.into())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user