changelog

This commit is contained in:
sagie gur ari 2022-04-20 07:16:27 +00:00
parent 62788977cf
commit 0833fc9baf
2 changed files with 7 additions and 6 deletions

View file

@ -4,6 +4,7 @@
* Fix: Runtime - fix control characters '\' parsing and expansion #237
* Enhancement: New get_file_size/filesize command #222
* Enhancement: Add include hidden files option for gitignore_path_array command #236 (thanks @Blightbuster)
### v0.8.10 (2021-12-10)

View file

@ -51,13 +51,13 @@ impl Command for CommandImpl {
CommandResult::Error("Root directory not provided.".to_string())
} else {
let mut array = vec![];
let (path_index, include_hidden) = if arguments.len() > 1 && arguments[0] == "--include-hidden" {
(1, true)
} else {
(0, false)
};
let (path_index, include_hidden) =
if arguments.len() > 1 && arguments[0] == "--include-hidden" {
(1, true)
} else {
(0, false)
};
for entry in WalkBuilder::new(&arguments[path_index])
.hidden(!include_hidden)