1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-22 07:48:52 -05:00

Allow *.groovy files as argument value for --format, --filter and --file-filter CLI options (e.g. --format /path/to/MyFormat.groovy)

This commit is contained in:
Reinhard Pointner 2019-05-19 18:54:58 +07:00
parent e3ff4525c0
commit c9478ffeba

View File

@ -31,7 +31,7 @@ public class GroovyExpressionHandler extends StringOptionHandler {
try { try {
return readTextFile(f); return readTextFile(f);
} catch (Exception e) { } catch (Exception e) {
throw new CmdLineException(owner, "Failed to read argument value from text file: " + f, e); throw new CmdLineException(owner, "Failed to read text file: " + f, e);
} }
} }
} }