Skip to content

Commit 9a457bd

Browse files
authored
Always use the filesystem timestamp if Git did not succeed (typst#2027)
1 parent 181176f commit 9a457bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundler/src/timestamp.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn determine_timestamps(
2323
.par_iter()
2424
.map(|p| {
2525
if has_git {
26-
timestamp_for_path_with_git(p)
26+
timestamp_for_path_with_git(p).or_else(|_| timestamp_for_path_with_fs(p))
2727
} else {
2828
timestamp_for_path_with_fs(p)
2929
}

0 commit comments

Comments
 (0)