mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00: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);
|
||||
|
||||
// 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…
Reference in a new issue