Fix the nu-path fuzz-target (#16188)

This code didn't compile, fixed provisionally by always running the
codepath with tilde expansion.

@IanManske worth discussing what we may want to fuzz here.
This commit is contained in:
Stefan Holderbach
2025-07-22 14:10:25 +02:00
committed by GitHub
parent b0687606f7
commit 93b407fa88
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,6 @@ fuzz_target!(|data: &[u8]| {
// Here, we're assuming a second path for the "relative to" aspect.
// For simplicity, we're just using the current directory.
let current_dir = std::path::Path::new(".");
let _ = expand_path_with(path, &current_dir);
let _ = expand_path_with(path, &current_dir, true);
}
});