optionally pipe contents of variable to stdin of an exec command #2
Annotations
2 errors and 4 warnings
useless use of `vec!`:
src/actions/request.rs#L64
error: useless use of `vec!`
--> src/actions/request.rs:64:22
|
64 | let body_verbs = vec!["POST", "PATCH", "PUT"];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["POST", "PATCH", "PUT"]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
|
useless use of `vec!`:
src/actions/exec.rs#L52
error: useless use of `vec!`
--> src/actions/exec.rs:52:16
|
52 | let args = vec!["bash", "-c", "--", final_command.as_str()];
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `["bash", "-c", "--", final_command.as_str()]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
= note: `-D clippy::useless-vec` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
|
security_audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions-rs/audit-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
security_audit
3 warnings found!
|
security_audit
Unknown warning kind unsound found, please, file a bug
|