mirror of
https://github.com/nushell/nushell
synced 2025-01-14 14:14:13 +00:00
update os-info os to name (#5265)
This commit is contained in:
parent
18c9b62b00
commit
d1cc70fc4a
1 changed files with 1 additions and 1 deletions
|
@ -1250,7 +1250,7 @@ pub fn eval_variable(
|
||||||
output_vals.push(Value::int(pid as i64, span));
|
output_vals.push(Value::int(pid as i64, span));
|
||||||
|
|
||||||
let os_record = Value::Record {
|
let os_record = Value::Record {
|
||||||
cols: vec!["os".into(), "arch".into(), "family".into()],
|
cols: vec!["name".into(), "arch".into(), "family".into()],
|
||||||
vals: vec![
|
vals: vec![
|
||||||
Value::string(std::env::consts::OS, span),
|
Value::string(std::env::consts::OS, span),
|
||||||
Value::string(std::env::consts::ARCH, span),
|
Value::string(std::env::consts::ARCH, span),
|
||||||
|
|
Loading…
Reference in a new issue