mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
fix: create package folders
This commit is contained in:
parent
5fd29cc264
commit
d7c421a90e
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::{
|
||||
collections::HashSet,
|
||||
fs::{read_to_string, write},
|
||||
fs::{create_dir_all, read_to_string, write},
|
||||
path::{Component, Path, PathBuf},
|
||||
};
|
||||
|
||||
|
@ -158,7 +158,7 @@ pub(crate) fn link<P: AsRef<Path>, Q: AsRef<Path>>(
|
|||
)),
|
||||
_ => destination_dir.as_ref().to_path_buf(),
|
||||
};
|
||||
|
||||
create_dir_all(&destination_dir)?;
|
||||
let destination_file = destination_dir.join(desired_name.to_string() + ".lua");
|
||||
|
||||
let realm_folder = project.path().join(resolved_pkg.packages_folder());
|
||||
|
|
Loading…
Reference in a new issue