Skip to content

Commit

Permalink
relative filename
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Oct 9, 2024
1 parent 84d128f commit 7a80e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cppcheckexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ namespace {
for (const auto& location : finding.callStack) {
picojson::object physicalLocation;
picojson::object artifactLocation;
artifactLocation["uri"] = picojson::value(location.getOrigFile(false));
artifactLocation["uri"] = picojson::value(location.getfile(false));
physicalLocation["artifactLocation"] = picojson::value(artifactLocation);
picojson::object region;
region["startLine"] = picojson::value(static_cast<int64_t>(location.line));
Expand Down

0 comments on commit 7a80e05

Please sign in to comment.