Skip to content

Commit fab7f9d

Browse files
kdudkalzaoral
andauthored
fixup! json-writer: read tool, tool-version, and tool-url from scan props
Co-authored-by: Lukáš Zaoral <[email protected]>
1 parent ab93b8b commit fab7f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json-writer.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class SarifTreeEncoder: public AbstractTreeEncoder {
165165
void SarifTreeEncoder::initToolVersion()
166166
{
167167
std::string tool;
168-
TScanProps::const_iterator it = scanProps_.find("tool");
168+
auto it = scanProps_.find("tool");
169169
if (scanProps_.end() != it)
170170
// read "tool" scan property
171171
tool = it->second;

0 commit comments

Comments
 (0)