mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 09:49:01 +00:00
Fix error message
This commit is contained in:
+1
-1
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user