mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-24 15:28:51 +01:00
Fix build on 1.37
This commit is contained in:
parent
98ba9e0101
commit
8067fd9eda
@ -225,7 +225,7 @@ impl App {
|
||||
fn files(&self) -> Result<Vec<InputFile>> {
|
||||
// verify equal length of file-names and input FILEs
|
||||
match self.matches.values_of("file-name") {
|
||||
Some(filenames)
|
||||
Some(ref filenames)
|
||||
if self.matches.values_of_os("FILE").is_some()
|
||||
&& filenames.len() != self.matches.values_of_os("FILE").unwrap().len() =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user