Technoboy- commented on a change in pull request #5846:
URL: https://github.com/apache/dolphinscheduler/pull/5846#discussion_r673004794
##########
File path:
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/FileUtils.java
##########
@@ -131,6 +131,27 @@ public static String getResourceViewSuffixs() {
return PropertyUtils.getString(RESOURCE_VIEW_SUFFIXS,
RESOURCE_VIEW_SUFFIXS_DEFAULT_VALUE);
}
+ /**
+ * create directory if absent
+ *
+ * @param execLocalPath execute local path
+ * @throws IOException errors
+ */
+ public static void createWorkDirIfAbsent(String execLocalPath) throws
IOException {
Review comment:
The method name does not match it's behavior.
--
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]