This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-384
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-384 by this push:
     new 82ad934  Fix for NLPCRAFT-425
82ad934 is described below

commit 82ad934257b527356aed6af6ee3bcd73f6890ae5
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Aug 24 14:08:01 2021 -0700

    Fix for NLPCRAFT-425
---
 .../scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
index ab0fd21..51cbd7a 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/deploy/NCDeployManager.scala
@@ -243,7 +243,7 @@ object NCDeployManager extends NCService {
             val elmId = elm.getId
 
             // Checks before macros processing.
-            val susp = elm.getSynonyms.asScala.filter(syn => 
SUSP_SYNS_CHARS.exists(susp => syn.contains(susp)))
+            val susp = elm.getSynonyms.asScala.filter(syn => 
!syn.contains("//") && SUSP_SYNS_CHARS.exists(susp => syn.contains(susp)))
 
             if (susp.nonEmpty)
                 logger.warn(

Reply via email to