add linting CI jobs

This commit is contained in:
daniel.eades 2023-11-17 07:04:57 +00:00 committed by Ashley Wulber
parent 9974b2f99f
commit aa2d9fe374
12 changed files with 98 additions and 68 deletions

View file

@ -21,7 +21,7 @@ pub async fn active_connections(
let state = connection
.state()
.await
.unwrap_or_else(|_| ActiveConnectionState::Unknown);
.unwrap_or(ActiveConnectionState::Unknown);
if connection.vpn().await.unwrap_or_default() {
info.push(ActiveConnectionInfo::Vpn {