Skip to content

Commit

Permalink
Allow offline and help json modes work together
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Jul 19, 2024
1 parent 42ced8e commit 15be3a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Binary file modified lib/bld/bld-wrapper.jar
Binary file not shown.
6 changes: 4 additions & 2 deletions src/main/java/rife/bld/wrapper/Wrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -520,8 +520,10 @@ private File installDistribution()
var is_snapshot = isSnapshot(version);
var is_local = false;
if (offline_) {
System.out.println("Offline mode: no artifacts will be checked nor downloaded");
System.out.flush();
if (launchMode_ != LaunchMode.Json) {
System.out.println("Offline mode: no artifacts will be checked nor downloaded");
System.out.flush();
}
}
else {
if (is_snapshot) {
Expand Down

0 comments on commit 15be3a2

Please sign in to comment.