Update minijinja to 2.x #1463
Annotations
1 error and 1 warning
Run giraffate/clippy-action@v1:
src/recipe/jinja.rs#L1124
[clippy] reported by reviewdog 🐶
error: useless use of `format!`
--> src/recipe/jinja.rs:1124:24
|
1124 | .eval(&format!("(var | split('.'))[2]"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"(var | split('.'))[2]".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-D clippy::useless-format` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
Raw Output:
src/recipe/jinja.rs:1124:24:e:error: useless use of `format!`
--> src/recipe/jinja.rs:1124:24
|
1124 | .eval(&format!("(var | split('.'))[2]"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"(var | split('.'))[2]".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `-D clippy::useless-format` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_format)]`
__END__
|
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading