Patch from Laurent: typo leads to bad error messages.
This commit is contained in:
parent
9d9d438bc4
commit
ec4b30de6d
|
|
@ -379,7 +379,7 @@ class RodBindingArgumentTypeDescriptor extends ArgumentTypeDescriptor {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( tribbleType == null )
|
if ( tribbleType == null )
|
||||||
if ( ! file.canRead() | !! file.isFile() ) {
|
if ( ! file.canRead() | ! file.isFile() ) {
|
||||||
throw new UserException.BadArgumentValue(name, "Couldn't read file to determine type: " + file);
|
throw new UserException.BadArgumentValue(name, "Couldn't read file to determine type: " + file);
|
||||||
} else {
|
} else {
|
||||||
throw new UserException.CommandLineException(
|
throw new UserException.CommandLineException(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue