mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:36:27 -05:00
cli: update proc macro and clippy (#210414)
This commit is contained in:
4
cli/Cargo.lock
generated
4
cli/Cargo.lock
generated
@@ -1723,9 +1723,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.59"
|
||||
version = "1.0.80"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b"
|
||||
checksum = "a56dea16b0a29e94408b9aa5e2940a4eedbd128a1ba20e8f7ae60fd3d465af0e"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
@@ -86,7 +86,7 @@ impl ServiceManager for LaunchdService {
|
||||
match capture_command_and_check_status("launchctl", &["stop", &get_service_label()]).await {
|
||||
Ok(_) => {}
|
||||
// status 3 == "no such process"
|
||||
Err(CodeError::CommandFailed { code, .. }) if code == 3 => {}
|
||||
Err(CodeError::CommandFailed { code: 3, .. }) => {}
|
||||
Err(e) => return Err(wrap(e, "error stopping service").into()),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user