diff --git a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter1/PackageNaming.kt b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter1/PackageNaming.kt index e6d08ba967..b549035cd0 100644 --- a/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter1/PackageNaming.kt +++ b/diktat-rules/src/main/kotlin/org/cqfn/diktat/ruleset/rules/chapter1/PackageNaming.kt @@ -82,7 +82,7 @@ class PackageNaming(configRules: List) : DiktatRule( } ?: if (visitorCounter.incrementAndGet() == 1) { log.error("Not able to find an external configuration for domain" + " name in the common configuration (is it missing in yml config?)") - } + } else Unit } /**