fix: put package directory in config path.

This commit is contained in:
Sefa Eyeoglu 2019-10-08 18:59:31 +02:00
parent c0f4fe04ac
commit 59206b6384

View File

@ -366,7 +366,7 @@ impl ConfigSet {
}
pub fn get_default_packages_dir() -> PathBuf {
let data_dir = dirs::data_local_dir().expect("Unable to get package directory");
let data_dir = ConfigSet::get_default_config_dir();
data_dir.join(PACKAGES_FOLDER_NAME)
}
}