mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
prefetch-npm-deps: fix error typo and unnecessary name qualifier
(cherry picked from commit 785ed11d0a)
This commit is contained in:
@@ -108,7 +108,7 @@ fn fixup_lockfile(
|
||||
|
||||
// Recursive helper to fixup v1 lockfile deps
|
||||
fn fixup_v1_deps(
|
||||
dependencies: &mut serde_json::Map<String, Value>,
|
||||
dependencies: &mut Map<String, Value>,
|
||||
cache: &Option<HashMap<String, String>>,
|
||||
fixed: &mut bool,
|
||||
) {
|
||||
|
||||
@@ -139,9 +139,9 @@ impl Package {
|
||||
None => Specifics::Registry {
|
||||
integrity: pkg
|
||||
.integrity
|
||||
.expect("non-git dependencies should have assosciated integrity")
|
||||
.expect("non-git dependencies should have associated integrity")
|
||||
.into_best()
|
||||
.expect("non-git dependencies should have non-empty assosciated integrity"),
|
||||
.expect("non-git dependencies should have non-empty associated integrity"),
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user