index : git-mirror-sync.git

ascending towards madness

author holly sparkles <sparkles@holly.sh> 2024-01-21 8:09:04.0 +00:00:00
committer holly sparkles <sparkles@holly.sh> 2024-01-21 8:09:04.0 +00:00:00
commit
18c13962b6cec09e3213050d7191f47133079795 [patch]
tree
ea369e396844a4c74d08bf7026f2e8e9a8e9239c
parent
dcef1d3e1b83ff5c271d98b72843f7ff6c7b6a7e
download
18c13962b6cec09e3213050d7191f47133079795.tar.gz

fix: max_recursion_depth is unused



Diff

 src/main.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.rs b/src/main.rs
index bb67a93..a0b2679 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -32,7 +32,7 @@ async fn do_sync_task(args: CliArgs) {
    info!("Performing sync task.");

    for dir in WalkDir::new(args.directory)
        .max_depth(3)
        .max_depth(args.max_recursion_depth)
        .into_iter()
        .filter_map(|err| err.ok())
    {