fix broken collect-license-metadata
This commit is contained in:
parent
60445fda58
commit
656c31c862
1 changed files with 2 additions and 2 deletions
|
@ -278,10 +278,10 @@ pub(crate) fn expand_interned_licenses(
|
||||||
) -> Node<&License> {
|
) -> Node<&License> {
|
||||||
match node {
|
match node {
|
||||||
Node::Root { childs } => Node::Root {
|
Node::Root { childs } => Node::Root {
|
||||||
childs: childs.into_iter().map(|child| strip_interning(child, interner)).collect(),
|
childs: childs.into_iter().map(|child| expand_interned_licenses(child, interner)).collect(),
|
||||||
},
|
},
|
||||||
Node::Directory { name, childs, license } => Node::Directory {
|
Node::Directory { name, childs, license } => Node::Directory {
|
||||||
childs: childs.into_iter().map(|child| strip_interning(child, interner)).collect(),
|
childs: childs.into_iter().map(|child| expand_interned_licenses(child, interner)).collect(),
|
||||||
license: license.map(|license| interner.resolve(license)),
|
license: license.map(|license| interner.resolve(license)),
|
||||||
name,
|
name,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue