[FIX] Fix sync command

This commit is contained in:
Gravita 2025-06-21 17:00:36 +07:00
parent a959414c64
commit ab1fa64f7a

View file

@ -320,7 +320,7 @@ public void invoke(String... args) throws Exception {
try {
if (!IOHelper.isDir(Path.of(updatesDir)))
Files.createDirectory(Path.of(updatesDir));
readUpdatesDir();
sync(null);
} catch (IOException e) {
logger.error("Updates not synced", e);
}