mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 08:16:32 +02:00
Ensure selection of columns are done once per column (#3012)
This commit is contained in:
committed by
GitHub
parent
6f17662a4e
commit
a5fefaf78b
@ -27,18 +27,6 @@ pub struct EvaluationContext {
|
||||
}
|
||||
|
||||
impl EvaluationContext {
|
||||
pub fn from_raw(raw_args: &CommandArgs) -> EvaluationContext {
|
||||
EvaluationContext {
|
||||
scope: raw_args.scope.clone(),
|
||||
host: raw_args.host.clone(),
|
||||
current_errors: raw_args.current_errors.clone(),
|
||||
ctrl_c: raw_args.ctrl_c.clone(),
|
||||
shell_manager: raw_args.shell_manager.clone(),
|
||||
user_recently_used_autoenv_untrust: Arc::new(AtomicBool::new(false)),
|
||||
windows_drives_previous_cwd: Arc::new(Mutex::new(std::collections::HashMap::new())),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn from_args(args: &CommandArgs) -> EvaluationContext {
|
||||
EvaluationContext {
|
||||
scope: args.scope.clone(),
|
||||
|
Reference in New Issue
Block a user