Skip to content
Snippets Groups Projects
Commit cb9e4ee4 authored by Sebastian Ebert's avatar Sebastian Ebert
Browse files

cleaned main

parent 0cf009b3
No related branches found
No related tags found
No related merge requests found
......@@ -18,13 +18,13 @@ public class Main {
public static void main(java.lang.String[] args) throws IOException {
// if(args.length != 1){
// System.out.println("Error: Invalid arguments.");
// return;
// }
if(args.length != 1){
System.out.println("Error: Invalid arguments.");
return;
}
//String configPath = args[0];
String configPath = "src/test/resources/GeneratorConfig.json";
String configPath = args[0];
//String configPath = "src/test/resources/GeneratorConfig.json";
ObjectMapper generatorConfigObjectMapper = new ObjectMapper();
GeneratorConfig gc = generatorConfigObjectMapper.readValue(Files.readString(Paths.get(configPath)), GeneratorConfig.class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment