Skip to content

Commit 9aca0f0

Browse files
committed
add default name for jar
1 parent fa2f406 commit 9aca0f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/main/java/com/dtstack/flink/sql/util/PluginUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,11 @@ public boolean accept(File dir, String name) {
158158
if (jarFiles != null && jarFiles.length > 0){
159159
coreJarFileName = jarFiles[0].getName();
160160
}
161+
}else {
162+
coreJarFileName = prefix.toLowerCase() + ".jar";
161163
}
162164

165+
163166
return coreJarFileName;
164167
}
165168

0 commit comments

Comments
 (0)