Fix error message

This commit is contained in:
Stephane Nicoll 2014-12-05 14:42:51 +01:00
parent f4fb9ddfe6
commit 61223e709c
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class ProjectGenerator {
while (entry != null) {
File file = new File(outputFolder, entry.getName());
if (file.exists() && !overwrite) {
throw new ReportableException(file.isDirectory() ? "Directory" : "File"
throw new ReportableException((file.isDirectory() ? "Directory" : "File")
+ " '" + file.getName()
+ "' already exists. Use --force if you want to overwrite or "
+ "specify an alternate location.");