Skip to content

Commit 1e90dda

Browse files
committed
revert error id change
1 parent 1f0d183 commit 1e90dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/errorlogger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ std::string getGuideline(const std::string &errId, ReportType reportType,
10411041
case ReportType::misraC2012:
10421042
case ReportType::misraC2023:
10431043
case ReportType::misraC2025:
1044-
if (errId.rfind("misra-c-20", 0) == 0 || errId.rfind("premium-misra-c-20", 0) == 0)
1044+
if (errId.rfind("misra-c20", 0) == 0 || errId.rfind("premium-misra-c-20", 0) == 0)
10451045
guideline = errId.substr(errId.rfind('-') + 1);
10461046
break;
10471047
case ReportType::misraCpp2008:

0 commit comments

Comments
 (0)