mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Fix clean
This commit is contained in:
parent
ff3cd11099
commit
8b53fab9fd
@ -207,7 +207,7 @@ impl CookRecipe {
|
||||
|
||||
pub fn from_path(dir: &Path, read_recipe: bool) -> Result<Self, PackageError> {
|
||||
let file = dir.join("recipe.toml");
|
||||
let name: PackageName = file.file_name().unwrap().try_into()?;
|
||||
let name: PackageName = dir.file_name().unwrap().try_into()?;
|
||||
let recipe = if read_recipe {
|
||||
Recipe::new(&file)?
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user