mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Added Already-up-to-date message to updater
This commit is contained in:
parent
41aae07021
commit
792d5c314a
1 changed files with 6 additions and 1 deletions
|
|
@ -49,7 +49,12 @@ public class Updater {
|
||||||
m.downloadAndUpdate(downloadList);
|
m.downloadAndUpdate(downloadList);
|
||||||
|
|
||||||
// remove odd files
|
// remove odd files
|
||||||
m.removeFiles(m.findRemoved(local, remote));
|
List<String> removeList = m.findRemoved(local, remote);
|
||||||
|
m.removeFiles(removeList);
|
||||||
|
|
||||||
|
if (downloadList.isEmpty() && removeList.isEmpty()) {
|
||||||
|
System.out.println("Already up-to-date.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue