austinjones / tab-rs

The intuitive, config-driven terminal multiplexer designed for software & systems engineers
MIT License
659 stars 29 forks source link

Fix incorrect message about workspace errors #373

Open joshbainbridge opened 1 year ago

joshbainbridge commented 1 year ago

There appears to have been a minor bug introduced in #366 which meant that when a user listed tabs using the CLI, a message was diplayed warning the user of errors, when no errors were present.

I've added a one liner change, just swapped out an is_empty() with an !is_empty(). This was all that was needed to resolve the issue.