From d1cc70fc4a97d0fd98025d64adc76d9ee13b9b45 Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Wed, 20 Apr 2022 17:36:39 -0500 Subject: [PATCH] update os-info os to name (#5265) --- crates/nu-engine/src/eval.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-engine/src/eval.rs b/crates/nu-engine/src/eval.rs index 56c24817e0..cf6828d69c 100644 --- a/crates/nu-engine/src/eval.rs +++ b/crates/nu-engine/src/eval.rs @@ -1250,7 +1250,7 @@ pub fn eval_variable( output_vals.push(Value::int(pid as i64, span)); let os_record = Value::Record { - cols: vec!["os".into(), "arch".into(), "family".into()], + cols: vec!["name".into(), "arch".into(), "family".into()], vals: vec![ Value::string(std::env::consts::OS, span), Value::string(std::env::consts::ARCH, span),