add asserts.

This commit is contained in:
Your Name
2025-04-26 18:15:49 +12:00
parent 4953d4988d
commit 977e878eff
4 changed files with 93 additions and 1 deletions

View File

@ -4,6 +4,7 @@
#include "templates.hpp"
#include "services.hpp"
#include "servers.hpp"
#include "utils/assert.hpp"
#include <algorithm>
#include <iostream>
@ -22,6 +23,7 @@ void dropshell::autocomplete(const std::vector<std::string> &args)
return;
}
ASSERT(args.size() >= 3);
std::string cmd = args[2];
// std::cout<<" cmd = ["<<cmd<<"]"<<std::endl;