We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d57cc3e commit b9ac31aCopy full SHA for b9ac31a
lib/sarifreport.cpp
@@ -190,7 +190,7 @@ std::string SarifReport::serialize(std::string productName) const
190
// From SARIF specification (https://docs.oasis-open.org/sarif/sarif/v2.1.0/errata01/os/sarif-v2.1.0-errata01-os-complete.html#_Toc141790730):
191
// Although the order in which properties appear in a JSON object value is not semantically significant, the version property SHOULD appear first.
192
193
- return "{\n \"version\": \"" + sarifVersion + "\"," + picojson::value(doc).serialize(true).substr(1);
+ return "{\n \"version\": \"" + std::string(sarifVersion) + "\"," + picojson::value(doc).serialize(true).substr(1);
194
}
195
196
std::string SarifReport::sarifSeverity(const ErrorMessage& errmsg)
0 commit comments