fix: unblock pre-push checks

This commit is contained in:
wonfen
2026-08-20 08:13:02 +08:00
parent 349c635de0
commit b80bca01da
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ async function writeInstalledFingerprint(fingerprint) {
)
}
export function windowsElevationInvocation(
function windowsElevationInvocation(
installer,
environment = process.env,
) {
+2 -2
View File
@@ -172,10 +172,10 @@ where
/// Treats a missing network service as a completed disable: with nothing to write to, the
/// requested "no proxy" state already holds. Turning a proxy on must still fail.
fn tolerate_missing_network_service(enabling: bool, outcome: sysproxy::Result<()>) -> Result<()> {
fn tolerate_missing_network_service(_enabling: bool, outcome: sysproxy::Result<()>) -> Result<()> {
match outcome {
#[cfg(target_os = "macos")]
Err(sysproxy::Error::NoActiveNetworkService) if !enabling => {
Err(sysproxy::Error::NoActiveNetworkService) if !_enabling => {
logging!(warn, Type::Core, "no active network service, nothing to turn off");
Ok(())
}