Skip to content

Fix windows.

Fix windows. #719

Triggered via push May 8, 2024 18:16
Status Success
Total duration 1m 6s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

2 errors
file opened with `create`, but `truncate` behavior not defined: src/fossa_cli.rs#L604
error: file opened with `create`, but `truncate` behavior not defined --> src/fossa_cli.rs:604:10 | 604 | .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 warnings` = help: to override `-D warnings` add `#[allow(clippy::suspicious_open_options)]`
file opened with `create`, but `truncate` behavior not defined: src/fossa_cli.rs#L604
error: file opened with `create`, but `truncate` behavior not defined --> src/fossa_cli.rs:604:10 | 604 | .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 warnings` = help: to override `-D warnings` add `#[allow(clippy::suspicious_open_options)]`