Skip to content

Commit

Permalink
🐛 Fix progress bar not finishing when skipping works with an include …
Browse files Browse the repository at this point in the history
…argument to build
  • Loading branch information
ewen-lbh committed Apr 22, 2024
1 parent 120bbd1 commit b56c5ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- weird "no non-transparent pixels found" error when trying to extract colors from .gif files.
- progress bar not finishing when skipping works with an include argument to build

## [1.5.0] - 2024-04-20

Expand Down
1 change: 1 addition & 0 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ func (ctx *RunContext) BuildSome(include string, databaseDirectory string, outpu
} else if presentBefore {
// Nothing to do, old work will be kept as-is.
LogDebug("worker #%d: nothing to do for work %s", i, workID)
ctx.Status(workID, PhaseUnchanged)
} else {
LogDebug("worker #%d: Build skipped: not included by %s, not present in previous database file.", i, include)
}
Expand Down

0 comments on commit b56c5ab

Please sign in to comment.