Skip to content

Commit

Permalink
build(deps): update deps + clippy fixes (#11)
Browse files Browse the repository at this point in the history
* build(deps): update deps + clippy fixes
* chore(CHANGELOG): bump version + CHANGELOG
  • Loading branch information
sassman authored Apr 18, 2022
1 parent d4b3252 commit 739d12d
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 45 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,22 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [unreleased]
[Unreleased]: https://github.com/sassman/putzen-rs/compare/v1.0.2...HEAD
[Unreleased]: https://github.com/sassman/putzen-rs/compare/v1.0.3...HEAD

## [1.0.3] - 2022-04-18
[1.0.3]: https://github.com/sassman/putzen-rs/compare/v1.0.2...v1.0.3

### Miscellaneous Tasks

- update dependencies and fix recent clippy findings ([#11](https://github.com/sassman/putzen-rs/pull/11))

## [1.0.2] - 2022-02-06
[1.0.2]: https://github.com/sassman/putzen-rs/compare/v1.0.1...v1.0.2

### Bug Fixes

- On windows: `UNC` paths are problematic (#9)
- On windows path `.` is not recognized
- On windows path `.` is not recognized (#7)
- Wrong heading level broke the build

### Features
Expand All @@ -22,7 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Miscellaneous Tasks

- Fix little link issue
- Add a changelog

## [1.0.1] - 2022-01-31
[1.0.1]: https://github.com/sassman/putzen-rs/compare/v1.0.0...v1.0.1
Expand Down
72 changes: 36 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "putzen-cli"
description = "helps keeping your disk clean of build and dependency artifacts safely"
version = "1.0.2"
version = "1.0.3"
authors = ["Sven Assmann <[email protected]>"]
edition = "2021"
license = "GPL-3.0-only"
Expand Down
4 changes: 1 addition & 3 deletions src/bin/putzen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ fn visit_path(args: &PurifyArgs) -> Result<()> {
})
.into_iter()
.filter(|f| f.is_ok())
.map(|e| e.unwrap())
.map(|e| e.client_state)
.flatten()
.filter_map(|e| e.unwrap().client_state)
{
for rule in to_clean {
match if args.dry_run {
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ impl Folder {
})
.into_iter()
.filter(|f| f.is_ok())
.map(|e| e.unwrap().client_state)
.flatten()
.filter_map(|e| e.unwrap().client_state)
.sum()
}
}
Expand Down

0 comments on commit 739d12d

Please sign in to comment.