Skip to content

Commit

Permalink
Fix issue #1145 (part 2) (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
qtfkwk authored Aug 23, 2024
1 parent ff11207 commit 3e09c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ impl Cli {
}

pub fn input(&self) -> Vec<&str> {
match self.matches.get_many::<&str>("input") {
Some(vs) => vs.cloned().collect(),
match self.matches.get_many::<String>("input") {
Some(vs) => vs.map(|x| x.as_str()).collect(),
None => vec!["."],
}
}
Expand Down

0 comments on commit 3e09c23

Please sign in to comment.