chore: lint unrelated files so the CI passes

This commit is contained in:
Brenno Lemos
2023-10-02 12:33:28 -03:00
parent 258ab8b147
commit 1b98a04c93
3 changed files with 5 additions and 3 deletions

View File

@ -256,7 +256,7 @@ const std::tuple<uint8_t, float, std::string, float> waybar::modules::Battery::g
std::string _status;
/* Check for adapter status if battery is not available */
if(!std::ifstream(bat / "status")) {
if (!std::ifstream(bat / "status")) {
std::getline(std::ifstream(adapter_ / "status"), _status);
} else {
std::getline(std::ifstream(bat / "status"), _status);