@Override
  public @Nullable Module commitModule(@NotNull Project project, @Nullable ModifiableModuleModel model) {
    Module module = super.commitModule(project, model);
    if (module != null && myTemplate != null) {
      VirtualFile dir = getModuleDir(module);
      myTemplate.generateProject(module.getProject(), dir, myGeneratorPeerLazyValue.getValue().getSettings(), module);
    }
    return module;
  }
@Override
  public @Nullable Module commitModule(@NotNull Project project, @Nullable ModifiableModuleModel model)