Skip to content

Commit 372db65

Browse files
authored
fix(oma-refresh): flat repo should not check Date (#354)
1 parent 0d54655 commit 372db65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oma-refresh/src/db.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ impl<'a> OmaRefresh<'a> {
514514
.parse()
515515
.map_err(|e| RefreshError::InReleaseParseError(inrelease_path.to_path_buf(), e))?;
516516

517-
if m.is_flat() {
517+
if !m.is_flat() {
518518
let now = Utc::now();
519519

520520
release.check_date(&now).map_err(|e| {

0 commit comments

Comments
 (0)