Clarify output directory has to exist already
This commit is contained in:
parent
5eca02f879
commit
9943625df7
|
@ -133,7 +133,7 @@ public class ValidationService {
|
||||||
} else {
|
} else {
|
||||||
File dir = new File(cliContext.getOutput());
|
File dir = new File(cliContext.getOutput());
|
||||||
if (!dir.isDirectory()) {
|
if (!dir.isDirectory()) {
|
||||||
throw new Error("THe output location "+dir.getAbsolutePath()+" must be a directory for the output style "+renderer.getStyleCode());
|
throw new Error("The output location "+dir.getAbsolutePath()+" must be an existing directory for the output style "+renderer.getStyleCode());
|
||||||
}
|
}
|
||||||
renderer.setFolder(dir);
|
renderer.setFolder(dir);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue