Skip to content

Merge pull request #60 from TangleRisk/patch-1 #115

Merge pull request #60 from TangleRisk/patch-1

Merge pull request #60 from TangleRisk/patch-1 #115

Triggered via push April 19, 2024 08:48
Status Success
Total duration 5m 17s
Artifacts

publish.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 5 warnings
file opened with `create`, but `truncate` behavior not defined: src/core/scripts.rs#L57
error: file opened with `create`, but `truncate` behavior not defined --> src/core/scripts.rs:57:18 | 57 | .create(true) | ^^^^^^^^^^^^- help: add: `.truncate(true)` | = help: if you intend to overwrite an existing file entirely, call `.truncate(true)` = help: if you instead know that you may want to keep some parts of the old file, call `.truncate(false)` = help: alternatively, use `.append(true)` to append to the file instead of overwriting it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_open_options = note: `-D clippy::suspicious-open-options` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::suspicious_open_options)]`
called `map(<f>).unwrap_or_default()` on a `Result` value: src/main.rs#L81
warning: called `map(<f>).unwrap_or_default()` on a `Result` value --> src/main.rs:81:10 | 81 | .map(|s| s.as_str() == "true") | __________^ 82 | | .unwrap_or_default() | |____________________________^ help: use: `is_ok_and(|s| s.as_str() == "true")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_variant_and
called `map(<f>).unwrap_or_default()` on a `Result` value: src/core/mod.rs#L148
warning: called `map(<f>).unwrap_or_default()` on a `Result` value --> src/core/mod.rs:148:14 | 148 | .map(|s| s.as_str() == "true") | ______________^ 149 | | .unwrap_or_default() | |________________________________^ help: use: `is_ok_and(|s| s.as_str() == "true")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_variant_and
called `map(<f>).unwrap_or_default()` on a `Result` value: src/app/feedback.rs#L169
warning: called `map(<f>).unwrap_or_default()` on a `Result` value --> src/app/feedback.rs:169:14 | 169 | .map(|s| s.as_str() == "true") | ______________^ 170 | | .unwrap_or_default() | |________________________________^ help: use: `is_ok_and(|s| s.as_str() == "true")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_variant_and
called `map(<f>).unwrap_or_default()` on a `Result` value: src/app/feedback.rs#L149
warning: called `map(<f>).unwrap_or_default()` on a `Result` value --> src/app/feedback.rs:149:14 | 149 | .map(|s| s.as_str() == "true") | ______________^ 150 | | .unwrap_or_default() | |________________________________^ help: use: `is_ok_and(|s| s.as_str() == "true")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_variant_and = note: `-W clippy::manual-is-variant-and` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::manual_is_variant_and)]`
publish
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, docker/setup-buildx-action@v2, docker/login-action@v2, docker/metadata-action@v4, docker/build-push-action@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.