We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58182ce commit e363d24Copy full SHA for e363d24
src/main/java/com/github/rfresh2/JourneyMapWaypointsToXaero.java
@@ -47,6 +47,10 @@ public static void main(final String[] args) {
47
String input = args[0];
48
String output = args[1];
49
Path folderIn = new File(String.format("%s/waypoints/", input)).toPath();
50
+ if (Files.notExists(folderIn)) {
51
+ LOG.error("Input folder does not exist: {}", folderIn);
52
+ System.exit(1);
53
+ }
54
LOG.info("Reading JM waypoints from path: {}", folderIn.toAbsolutePath());
55
List<XaeroWaypoint> xaeroWaypoints = convertWaypoints(folderIn);
56
xaeroWaypoints.stream()
0 commit comments