mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
Tiny improvement to sys (#1385)
This commit is contained in:
parent
96985aa692
commit
473e9f9422
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ async fn host(tag: Tag) -> Value {
|
||||||
if let Ok(platform) = platform_result {
|
if let Ok(platform) = platform_result {
|
||||||
dict.insert_untagged("name", UntaggedValue::string(platform.system()));
|
dict.insert_untagged("name", UntaggedValue::string(platform.system()));
|
||||||
dict.insert_untagged("release", UntaggedValue::string(platform.release()));
|
dict.insert_untagged("release", UntaggedValue::string(platform.release()));
|
||||||
|
dict.insert_untagged("version", UntaggedValue::string(platform.version()));
|
||||||
dict.insert_untagged("hostname", UntaggedValue::string(platform.hostname()));
|
dict.insert_untagged("hostname", UntaggedValue::string(platform.hostname()));
|
||||||
dict.insert_untagged(
|
dict.insert_untagged(
|
||||||
"arch",
|
"arch",
|
||||||
|
|
Loading…
Reference in a new issue