Skip to content

feat(api): Add append option to writeFile apis #762

feat(api): Add append option to writeFile apis

feat(api): Add append option to writeFile apis #762

Triggered via pull request August 16, 2023 13:30
Status Success
Total duration 46s
Artifacts

check-generated-files.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
called `map(..).flatten()` on `Option`: core/tauri/src/endpoints/file_system.rs#L176
error: called `map(..).flatten()` on `Option` --> core/tauri/src/endpoints/file_system.rs:176:8 | 176 | .map(|opt| opt.append) | ________^ 177 | | .flatten() | |________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|opt| opt.append)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten = note: `-D clippy::map-flatten` implied by `-D warnings`
called `map(..).flatten()` on `Option`: core/tauri/src/endpoints/file_system.rs#L176
error: called `map(..).flatten()` on `Option` --> core/tauri/src/endpoints/file_system.rs:176:8 | 176 | .map(|opt| opt.append) | ________^ 177 | | .flatten() | |________________^ help: try replacing `map` with `and_then` and remove the `.flatten()`: `and_then(|opt| opt.append)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_flatten = note: `-D clippy::map-flatten` implied by `-D warnings`