Skip to content

Commit

Permalink
fixup! fix(core/modules): Fix concurrent loading of dynamic imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Jun 26, 2021
1 parent a359541 commit 6e4a1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ impl Stream for RecursiveModuleLoad {
} else {
let maybe_referrer = match inner.init {
LoadInit::DynamicImport(_, ref referrer) => {
Some(crate::resolve_url(referrer).unwrap())
crate::resolve_url(referrer).ok()
}
_ => None,
};
Expand Down

0 comments on commit 6e4a1e5

Please sign in to comment.