This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-108
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-108 by this push:
new 01cae13 Update NCCli.scala
01cae13 is described below
commit 01cae1330c4d102204e68ecfaa4e0196dc307f42
Author: Aaron Radzinski <[email protected]>
AuthorDate: Mon Oct 5 11:51:41 2020 -0700
Update NCCli.scala
---
.../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 f3dd804..a8bc13e 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
@@ -734,9 +734,9 @@ object NCCli extends App {
for (_ ← 0 to lines)
tail ::= in.readLine()
- logln(bb(w(s"+---< Last $ansiBlackFg$lines$ansiWhiteFg
server log lines >---")))
- tail.foreach(line ⇒ logln(s"${bb(w("|"))} $line"))
- logln(bb(w(s"+---< Last $ansiBlackFg$lines$ansiWhiteFg
server log lines >---")))
+ logln(bb(w(s"+----< ${ansiBlackFg}Last $lines server
log lines $ansiWhiteFg>---")))
+ tail.foreach(line ⇒ logln(s"${bb(w("|"))} $line"))
+ logln(bb(w(s"+----< ${ansiBlackFg}Last $lines server
log lines $ansiWhiteFg>---")))
}
catch {
case e: Exception ⇒ error(s"Failed to read log file:
${e.getLocalizedMessage}")