This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/master by this push:
new 80ea0df Update NCCli.scala
80ea0df is described below
commit 80ea0dfddbcb9d48b126b80af8e39ec35dfddd10
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sat Jan 9 20:07:19 2021 -0800
Update NCCli.scala
---
.../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala | 4 ++--
1 file changed, 2 insertions(+), 2 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 b3d7d1c..280c679 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
@@ -2090,7 +2090,7 @@ object NCCli extends App {
if (overrideFlag)
U.clearFolder(dst.getAbsolutePath)
else
- throw new IllegalArgumentException(s"Folder already
exists: ${c(dst.getAbsolutePath)}")
+ throw new IllegalArgumentException(s"Folder already exists
(use ${c("'-o'")} to override): ${c(dst.getAbsolutePath)}")
}
}
@@ -2199,7 +2199,7 @@ object NCCli extends App {
for {
child ← children
- (v1, v2) = if (child != children.last) (s"${g("+")}-- ",
s"${r("|")} ") else (s"${g("+")}-- ", " ")
+ (v1, v2) = if (child != children.last) (s"${c("|")}-- ",
s"${c("|")} ") else (s"${c("+")}-- ", " ")
sub = get(child)
} {
buf += sub.head.insert(0, v1)