Skip to content

Commit

Permalink
console: Fixed a clang-tidy lint for something we're doing intentionally
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmux committed Nov 1, 2023
1 parent 813ea30 commit 12f57b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions impl/console.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ static const std::string falseString{"false"_s};

namespace substrate
{
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
console_t console;

void consoleStream_t::checkTTY() noexcept { _tty = isatty(fd); }
Expand Down

0 comments on commit 12f57b0

Please sign in to comment.