mirror of
https://github.com/nushell/nushell
synced 2025-01-14 14:14:13 +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> {
|
||||
let mut sys = System::new_all();
|
||||
let mut sys = System::new();
|
||||
|
||||
let mut sysinfo = TaggedDictBuilder::with_capacity(&tag, 6);
|
||||
|
||||
|
|
Loading…
Reference in a new issue