Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochen-zhou committed May 12, 2024
1 parent 5b92a81 commit 29c2b1c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,21 @@ private static void getConnectorFiles(
Set<String> connectorNames,
String connectorPrefix,
List<File> connectors) {

log.error("getConnectorFiles-connectorNames.size(): {}. \n ", connectorNames.size());
log.error("getConnectorFiles-connectors.size(): {}. \n ", connectors.size());
if (currentModule.isFile() || connectorNames.size() == connectors.size()) {
return;
}
if (connectorNames.contains(currentModule.getName())) {
log.error(
"getConnectorFiles-currentModule.getName()(): {}. \n ",
currentModule.getName());
File targetPath = new File(currentModule.getAbsolutePath() + File.separator + "target");
log.error("getConnectorFiles-targetPath: {}. \n ", targetPath);
for (File file : Objects.requireNonNull(targetPath.listFiles())) {
log.error("getConnectorFiles-file: {}. \n ", file);
log.error("getConnectorFiles-file.getName(): {}. \n ", file.getName());
if (file.getName().startsWith(currentModule.getName())
&& !file.getName().endsWith("javadoc.jar")
&& !file.getName().endsWith("tests.jar")) {
Expand Down

0 comments on commit 29c2b1c

Please sign in to comment.