CLI: error id from addon is <addon>-<id>
This commit is contained in:
parent
0fbbe2ff23
commit
6a260929e2
|
@ -643,7 +643,7 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
|||
errmsg._callStack.emplace_back(ErrorLogger::ErrorMessage::FileLocation(fileName, lineNumber));
|
||||
errmsg._callStack.back().col = column;
|
||||
|
||||
errmsg._id = obj["errorId"].get<std::string>();
|
||||
errmsg._id = obj["addon"].get<std::string>() + "-" + obj["errorId"].get<std::string>();
|
||||
const std::string text = obj["message"].get<std::string>();
|
||||
errmsg.setmsg(text);
|
||||
const std::string severity = obj["severity"].get<std::string>();
|
||||
|
|
Loading…
Reference in New Issue