mirror of
https://github.com/sagiegurari/duckscript
synced 2024-10-14 11:53:05 +00:00
changelog
This commit is contained in:
parent
62788977cf
commit
0833fc9baf
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue