mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 08:06:03 +02:00
Add hooks to cli/repl (#5479)
* Add hooks to cli/repl * Clippy * Clippy
This commit is contained in:
@ -966,7 +966,7 @@ mod test {
|
||||
.and_then(|p| match p.components().next().unwrap() {
|
||||
Component::Prefix(prefix_component) => {
|
||||
let path = Path::new(prefix_component.as_os_str()).join("*");
|
||||
Some(path.to_path_buf())
|
||||
Some(path)
|
||||
}
|
||||
_ => panic!("no prefix in this path"),
|
||||
})
|
||||
|
Reference in New Issue
Block a user