mirror of
https://github.com/nushell/nushell.git
synced 2025-08-13 22:48:25 +02:00
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:
committed by
GitHub
parent
b0687606f7
commit
93b407fa88
@ -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, ¤t_dir);
|
||||
let _ = expand_path_with(path, ¤t_dir, true);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user