mirror of
https://github.com/nushell/nushell.git
synced 2024-11-26 18:33:50 +01:00
cargo fmt
This commit is contained in:
parent
e1581ec156
commit
c5b8abbcd3
@ -31,7 +31,7 @@ impl DirectorySpecificEnvironment {
|
||||
{
|
||||
return Some(PathBuf::from(&dir));
|
||||
}
|
||||
None
|
||||
None
|
||||
})
|
||||
.collect()
|
||||
} else {
|
||||
|
3
crates/nu-cli/src/env/environment_syncer.rs
vendored
3
crates/nu-cli/src/env/environment_syncer.rs
vendored
@ -51,8 +51,7 @@ impl EnvironmentSyncer {
|
||||
// that aren't loaded from config.
|
||||
environment.add_env(&name, &value, false);
|
||||
|
||||
environment
|
||||
.maintain_directory_environment().ok();
|
||||
environment.maintain_directory_environment().ok();
|
||||
|
||||
// clear the env var from the session
|
||||
// we are about to replace them
|
||||
|
Loading…
Reference in New Issue
Block a user