Skip to content

Commit 89fd60a

Browse files
committed
fix(oma-refresh): flat repo should not check Date (#354)
1 parent be3fc63 commit 89fd60a

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
@@ -519,7 +519,7 @@ impl<'a> OmaRefresh<'a> {
519519
.parse()
520520
.map_err(|e| RefreshError::InReleaseParseError(inrelease_path.to_path_buf(), e))?;
521521

522-
if m.is_flat() {
522+
if !m.is_flat() {
523523
let now = Utc::now();
524524

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

0 commit comments

Comments
 (0)