martinzink commented on code in PR #1424: URL: https://github.com/apache/nifi-minifi-cpp/pull/1424#discussion_r1044558281
########## extensions/script/python/PythonCreator.h: ########## @@ -140,26 +136,18 @@ class PythonCreator : public minifi::core::CoreComponent { return python_package; } - std::string getPath(const std::string &pythonscript) { - return std::filesystem::path(pythonscript).parent_path().string(); + std::filesystem::path getFileName(const std::filesystem::path& python_script) { + return std::filesystem::path(python_script).filename(); Review Comment: :+1: good idea, went with the later approach https://github.com/apache/nifi-minifi-cpp/pull/1424/commits/6c775d116236c92105c7be38bb284f309c27887c#diff-0a5612bbb1831ede9a5b11ebe105ddb1fd97b399d44f51c34cebb87832769145R66 -- 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: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org