mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
fix: do not create scripts folders for packages without scripts
This commit is contained in:
parent
f6fce8be9e
commit
e30ec8a6cf
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ impl Project {
|
|||
.await?;
|
||||
}
|
||||
|
||||
if let Some(scripts) = node.target.scripts() {
|
||||
if let Some(scripts) = node.target.scripts().filter(|s| !s.is_empty()) {
|
||||
let scripts_base =
|
||||
create_and_canonicalize(self.package_dir().join(SCRIPTS_LINK_FOLDER).join(alias))
|
||||
.await?;
|
||||
|
|
Loading…
Reference in a new issue