You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/01/22 17:58:43 UTC

[incubator-nlpcraft] branch NLPCRAFT-224 updated: Update NCCli.scala

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

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


The following commit(s) were added to refs/heads/NLPCRAFT-224 by this push:
     new 3500379  Update NCCli.scala
3500379 is described below

commit 3500379b1cf75c7b42e4789e9acb195121684bd0
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Fri Jan 22 09:58:29 2021 -0800

    Update NCCli.scala
---
 .../src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index 52f7f86..038484f 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -719,6 +719,9 @@ object NCCli extends App {
         if (mdls != null)
             validatorArgs += s"-DNLPCRAFT_TEST_MODELS=$mdls"
 
+        if (!NCAnsi.isEnabled)
+            validatorArgs += "-DNLPCRAFT_ANSI_COLOR_DISABLED=true"
+
         validatorArgs += "-cp"
 
         if (addCp != null)