Merge "Remove duplicate code in class CreateProject"
This commit is contained in:
@@ -129,10 +129,6 @@ final class CreateProject extends BaseCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createProject();
|
createProject();
|
||||||
|
|
||||||
if (!permissionsOnly) {
|
|
||||||
rq.replicateNewProject(new Project.NameKey(projectName), branch);
|
|
||||||
}
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
p.print("Error when trying to create project: " + e.getMessage()
|
p.print("Error when trying to create project: " + e.getMessage()
|
||||||
+ "\n");
|
+ "\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user