Skip to content

Commit e09cbcc

Browse files
committed
refactor: tasklist empty
1 parent 398cc2c commit e09cbcc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/cli/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ int main([[maybe_unused]] int argc, char** argv)
5959
std::vector<Task> tasklist = tasks.get_config_tasklist();
6060

6161
if (tasklist.empty()) {
62-
std::cerr << "Task empty" << std::endl;
63-
mpause();
64-
return 1;
62+
std::cout << "Tasklist Empty" << std::endl;
63+
return 0;
6564
}
6665

6766
const auto cur_dir = std::filesystem::path(argv[0]).parent_path();

0 commit comments

Comments
 (0)