Skip to content

Commit

Permalink
Handle no arguments in the init command (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis authored Nov 20, 2023
1 parent ac8d8c8 commit 70f6d5f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ public class Init implements Callable<Integer> {

@Override
public Integer call() throws Exception {
if (style == null && tileset == null) {
logger.info("No configuration file specified.");
return 0;
}
if (style != null) {
Style styleObject = new Style();
styleObject.setName("Baremaps");
Expand Down

0 comments on commit 70f6d5f

Please sign in to comment.