mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
fix: use correct name field name for wally dependencies
This commit is contained in:
parent
7a8376ebad
commit
876fa21bcb
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ impl AddCommand {
|
||||||
}
|
}
|
||||||
#[cfg(feature = "wally-compat")]
|
#[cfg(feature = "wally-compat")]
|
||||||
DependencySpecifiers::Wally(spec) => {
|
DependencySpecifiers::Wally(spec) => {
|
||||||
manifest[dependency_key][alias]["name"] =
|
manifest[dependency_key][alias]["wally"] =
|
||||||
toml_edit::value(spec.name.clone().to_string());
|
toml_edit::value(spec.name.clone().to_string());
|
||||||
manifest[dependency_key][alias]["version"] =
|
manifest[dependency_key][alias]["version"] =
|
||||||
toml_edit::value(format!("^{}", version_id.version()));
|
toml_edit::value(format!("^{}", version_id.version()));
|
||||||
|
|
Loading…
Reference in a new issue