Skip to content

Commit

Permalink
fix version, fix blank line
Browse files Browse the repository at this point in the history
  • Loading branch information
ndtoan96 committed Nov 29, 2024
1 parent dcc1fcd commit f309f83
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 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 manget/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "manget"
version = "0.7.3"
version = "0.7.4"
edition = "2021"
authors = ["Nguyen Duc Toan <[email protected]>"]

Expand Down
2 changes: 1 addition & 1 deletion manget_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "manget_cli"
version = "0.7.1"
version = "0.7.0"
edition = "2021"
authors = ["Nguyen Duc Toan <[email protected]>"]

Expand Down
4 changes: 2 additions & 2 deletions manget_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
.service_fn(download_one);

let urls: Box<dyn Iterator<Item = &str>> = if args.batch_args.reverse {
Box::new(content.lines().rev())
Box::new(content.trim().lines().rev())
} else {
Box::new(content.lines())
Box::new(content.trim().lines())
};

let mut downloaded_paths = Vec::new();
Expand Down

0 comments on commit f309f83

Please sign in to comment.