Skip to content

fix(battery): Fix {health} format replacement #494

fix(battery): Fix {health} format replacement

fix(battery): Fix {health} format replacement #494

Triggered via pull request April 24, 2024 13:01
Status Failure
Total duration 5m 2s
Artifacts

clang-tidy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 3 warnings
build
Process completed with exit code 1.
src/modules/battery.cpp:185:27 [readability-function-cognitive-complexity]: src/modules/battery.cpp#L185
function 'getInfos' has cognitive complexity of 231 (threshold 25)
src/modules/battery.cpp:379:39 [readability-uppercase-literal-suffix]: src/modules/battery.cpp#L379
floating point literal has suffix 'f', which is not uppercase
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.