Skip to content

Commit fc8ab1b

Browse files
committed
Addon; Determine proper full path for 'executable' addon
1 parent 876702c commit fc8ab1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cppcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ namespace {
131131
if (obj.count("executable")) {
132132
if (!obj["executable"].is<std::string>())
133133
return "Loading " + fileName + " failed. executable must be a string.";
134-
executable = obj["executable"].get<std::string>();
134+
executable = getFullPath(obj["executable"].get<std::string>(), exename);
135135
return "";
136136
}
137137

0 commit comments

Comments
 (0)