Skip to content

Commit

Permalink
fix(oma-refresh): flat repo should not check Date
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Feb 25, 2025
1 parent abe46a8 commit 47df5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oma-refresh/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ impl<'a> OmaRefresh<'a> {
.parse()
.map_err(|e| RefreshError::InReleaseParseError(inrelease_path.to_path_buf(), e))?;

if m.is_flat() {
if !m.is_flat() {
let now = Utc::now();

release.check_date(&now).map_err(|e| {
Expand Down

0 comments on commit 47df5ea

Please sign in to comment.