Skip to content

Commit a5110df

Browse files
authored
Update crates/wasm-pkg-common/src/config.rs
1 parent 2010544 commit a5110df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/wasm-pkg-common/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl Config {
194194
if let Some(reg) = self
195195
.package_registry_overrides
196196
.get(package)
197-
.map(RegistryMapping::get_registry)
197+
.map(|pkg| pkg.registry())
198198
{
199199
return Some(reg);
200200
}

0 commit comments

Comments
 (0)