mirror of
https://github.com/danbulant/nushell
synced 2026-05-24 12:35:59 +00:00
Do less work in sys (#3413)
This commit is contained in:
parent
efac712f62
commit
6769d46dbb
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ pub fn temp(sys: &mut System, tag: Tag) -> Option<UntaggedValue> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn sysinfo(tag: Tag) -> Vec<Value> {
|
pub async fn sysinfo(tag: Tag) -> Vec<Value> {
|
||||||
let mut sys = System::new_all();
|
let mut sys = System::new();
|
||||||
|
|
||||||
let mut sysinfo = TaggedDictBuilder::with_capacity(&tag, 6);
|
let mut sysinfo = TaggedDictBuilder::with_capacity(&tag, 6);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue