diff --git a/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyProjectManagerListener.kt b/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyProjectManagerListener.kt index 4c21e6d..40bcf15 100644 --- a/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyProjectManagerListener.kt +++ b/src/main/kotlin/org/jetbrains/plugins/template/listeners/MyProjectManagerListener.kt @@ -10,6 +10,7 @@ internal class MyProjectManagerListener : ProjectManagerListener { override fun projectOpened(project: Project) { project.service<MyProjectService>() - TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") + System.getenv("CI") + ?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") } } diff --git a/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt b/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt index f511a21..59354fa 100644 --- a/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt +++ b/src/main/kotlin/org/jetbrains/plugins/template/services/MyApplicationService.kt @@ -7,6 +7,8 @@ class MyApplicationService { init { println(MyBundle.message("applicationService")) - TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") + System.getenv("CI") + ?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") + } } diff --git a/src/main/kotlin/org/jetbrains/plugins/template/services/MyProjectService.kt b/src/main/kotlin/org/jetbrains/plugins/template/services/MyProjectService.kt index b152085..175818d 100644 --- a/src/main/kotlin/org/jetbrains/plugins/template/services/MyProjectService.kt +++ b/src/main/kotlin/org/jetbrains/plugins/template/services/MyProjectService.kt @@ -8,6 +8,7 @@ class MyProjectService(project: Project) { init { println(MyBundle.message("projectService", project.name)) - TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") + System.getenv("CI") + ?: TODO("Don't forget to remove all non-needed sample code files with their corresponding registration entries in `plugin.xml`.") } }