fgerlits commented on code in PR #1392:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1392#discussion_r949350744
##########
extensions/script/python/PythonCreator.h:
##########
@@ -129,7 +129,8 @@ class PythonCreator : public minifi::core::CoreComponent {
return "";
}
const auto python_package_path = std::filesystem::relative(pythonscript,
basePath).parent_path();
- std::vector<std::string> path_elements{python_package_path.begin(),
python_package_path.end()};
+ std::vector<std::string> path_elements;
+ std::transform(python_package_path.begin(), python_package_path.end(),
std::back_inserter(path_elements), [](const auto& path) { return path.string();
});
Review Comment:
done in ce7b901964cb0c53365c40ba7d5f00fdd701665a
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]