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 3c410e5 WIP.
3c410e5 is described below
commit 3c410e5812c2deaf364f4781b4614915064619c1
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Oct 6 22:38:42 2020 -0700
WIP.
---
.../scala/org/apache/nlpcraft/common/ansi/NCAnsiProgressBar.scala | 2 +-
.../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiProgressBar.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiProgressBar.scala
index 88a3f00..28336ce 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiProgressBar.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/common/ansi/NCAnsiProgressBar.scala
@@ -135,7 +135,7 @@ object NCAnsiProgressBar{
Seq('[', '▰', '▱', ']'),
Seq('[', '◼', '◽', ']'),
Seq('[', '█', '_', ']'),
- Seq('⟦', '▰', '.', '⟧')
+ Seq('[', '▰', '.', ']')
)
private final val NON_ANSI_CHAR = '='
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 6cd9930..01b7287 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
@@ -722,7 +722,7 @@ object NCCli extends App {
new File(SystemUtils.getUserHome,
s".nlpcraft/.pid_${srvPid}_tstamp_$logTstamp").createNewFile()
}
- logln(s"Server output ⇒ ${c(output.getAbsolutePath)}")
+ logln(s"Server output > ${c(output.getAbsolutePath)}")
/**
*
@@ -1016,7 +1016,7 @@ object NCCli extends App {
* @param args Arguments, if any, for this command.
* @param repl Whether or not executing from REPL.
*/
- private def cmdStopServer(cmd: Command, args: Seq[Argument], repl:
Boolean): Unit = {
+ private def cmdStopServer(cmd: Command, args: Seq[Argument], repl:
Boolean): Unit =
loadServerBeacon() match {
case Some(beacon) ⇒
val pid = beacon.pid
@@ -1031,7 +1031,6 @@ object NCCli extends App {
case None ⇒ throw NoLocalServer()
}
- }
/**
* @param cmd Command descriptor.