Commit 61223e70 authored by Stephane Nicoll's avatar Stephane Nicoll

Fix error message

parent f4fb9ddf
......@@ -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.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment