Wizard: fix InvalidModuleDependencyError error message

This commit is contained in:
Ilya Kirillov
2020-10-01 20:47:56 +03:00
parent 2a5679e0c6
commit 7422690ea1
@@ -73,5 +73,5 @@ data class InvalidModuleDependencyError(val from: String, val to: String, @Nls v
constructor(from: Module, to: Module, reason: String? = null) : this(from.name, to.name, reason)
override val message: String
get() = KotlinNewProjectWizardBundle.message("error.invalid.module.dependency", from, to) + reason?.let { ": $it" }
get() = KotlinNewProjectWizardBundle.message("error.invalid.module.dependency", from, to) + reason?.let { ": $it" }.orEmpty()
}