2
0
Fork 0
mirror of https://github.com/ethauvin/bld.git synced 2025-04-26 00:37:10 -07:00

Allow offline and help json modes work together

This commit is contained in:
Geert Bevin 2024-07-19 18:11:09 -04:00
parent 42ced8e340
commit 15be3a2cd7
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View file

@ -520,8 +520,10 @@ public class Wrapper {
var is_snapshot = isSnapshot(version); var is_snapshot = isSnapshot(version);
var is_local = false; var is_local = false;
if (offline_) { if (offline_) {
System.out.println("Offline mode: no artifacts will be checked nor downloaded"); if (launchMode_ != LaunchMode.Json) {
System.out.flush(); System.out.println("Offline mode: no artifacts will be checked nor downloaded");
System.out.flush();
}
} }
else { else {
if (is_snapshot) { if (is_snapshot) {