Adding stuff into livedata.yaml needs _two_ rounds of config generation #4514
This commit is contained in:
parent
a3194524db
commit
64a4a76aa1
|
@ -46,7 +46,11 @@ public class ToJavaEnum {
|
|||
}
|
||||
}
|
||||
|
||||
private static String generate(String header, VariableRegistry registry, String key, EnumsReader.EnumState enumState) {
|
||||
public static String generate(VariableRegistry registry, String key, EnumsReader.EnumState enumState) {
|
||||
return generate("", registry, key, enumState);
|
||||
}
|
||||
|
||||
public static String generate(String header, VariableRegistry registry, String key, EnumsReader.EnumState enumState) {
|
||||
StringBuilder sb = new StringBuilder("package com.rusefi.enums;\n");
|
||||
sb.append(header);
|
||||
sb.append("//auto-generated by ToJavaEnum.java\n\n\n\n");
|
||||
|
|
Loading…
Reference in New Issue