Fix Broken Validator Version Flag
I'm not sure if that is the way the version detection though IG should work. But that is my take on it.
This commit is contained in:
parent
be5089a80c
commit
73294ee4fe
|
@ -169,9 +169,11 @@ public class Params {
|
|||
throw new Error("Specified " + args[i] + " without indicating ig file");
|
||||
else {
|
||||
String s = args[++i];
|
||||
cliContext.setSv(Common.getVersionFromIGName(null, s));
|
||||
if (cliContext.getSv() == null) {
|
||||
String version = Common.getVersionFromIGName(null, s);
|
||||
if (version == null) {
|
||||
cliContext.addIg(s);
|
||||
} else {
|
||||
cliContext.setSv(version);
|
||||
}
|
||||
}
|
||||
} else if (args[i].equals(MAP)) {
|
||||
|
|
Loading…
Reference in New Issue