mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
Tiny improvement to sys (#1385)
This commit is contained in:
parent
96985aa692
commit
473e9f9422
@ -87,6 +87,7 @@ async fn host(tag: Tag) -> Value {
|
||||
if let Ok(platform) = platform_result {
|
||||
dict.insert_untagged("name", UntaggedValue::string(platform.system()));
|
||||
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(
|
||||
"arch",
|
||||
|
Loading…
Reference in New Issue
Block a user