fix(deps): update all non-major dependencies #248
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 warnings
security_audit
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/audit-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
unneeded `return` statement:
src/main.rs#L67
warning: unneeded `return` statement
--> src/main.rs:67:5
|
67 | / return match env::var(ENV_SENTRY_DSN) {
68 | | Ok(dns) => Some(sentry::init((
69 | | dns,
70 | | sentry::ClientOptions {
... |
79 | | }
80 | | };
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
67 ~ match env::var(ENV_SENTRY_DSN) {
68 + Ok(dns) => Some(sentry::init((
69 + dns,
70 + sentry::ClientOptions {
71 + release: sentry::release_name!(),
72 + attach_stacktrace: true,
73 + ..Default::default()
74 + },
75 + ))),
76 + Err(_) => {
77 + info!("{ENV_SENTRY_DSN} not set, skipping Sentry setup");
78 + return None;
79 + }
80 ~ }
|
|