Skip to content

Commit 9ac21aa

Browse files
committed
🐛 - make sure we handle case when module is missing
1 parent 39af95a commit 9ac21aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/build/compile.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ pub fn mark_modules_with_expired_deps_dirty(build_state: &mut BuildState) {
696696
// "✅ {} is a dependent of {} ({:?} / {:?})",
697697
// module_name, dependent, last_compiled_dependent, last_compiled
698698
// );
699+
699700
modules_with_expired_deps.insert(dependent.to_string());
700701
} else {
701702
// println!(
@@ -704,6 +705,9 @@ pub fn mark_modules_with_expired_deps_dirty(build_state: &mut BuildState) {
704705
// );
705706
}
706707
}
708+
(None, _) => {
709+
modules_with_expired_deps.insert(dependent.to_string());
710+
}
707711
_ => (),
708712
}
709713
}

0 commit comments

Comments
 (0)