Skip to content

Commit

Permalink
Start DirectoryStructureComponent at first
Browse files Browse the repository at this point in the history
  • Loading branch information
isontheline committed May 26, 2024
1 parent dcc5fa7 commit 15ad5d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void run(ApplicationArguments args) throws Exception {
}

databaseService.exportDatabase(args.getOptionValues("output").get(0));
logger.info("Database export completed");
logger.info("Database export completed to : " + args.getOptionValues("output").get(0));

System.exit(0);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import ai.dragon.properties.DataProperties;
import lombok.Getter;

@Component
@Order(1)
public class DirectoryStructureComponent implements CommandLineRunner {
private final Logger logger = LoggerFactory.getLogger(this.getClass());

Expand Down

0 comments on commit 15ad5d7

Please sign in to comment.