From 6dc1441348652da4cf4db4e3dfc77ade536ec94c Mon Sep 17 00:00:00 2001 From: ee7 <45465154+ee7@users.noreply.github.com> Date: Sun, 18 Oct 2020 21:00:01 +0200 Subject: [PATCH] Fix: Show minimal `git clone` output by default Commit e5370b728e0c (#49) caused the program to produce no output during the `git clone` at the default verbosity setting. It was nice to remove the excessive `git clone` output, but total removal means that the program can appear to hang on a poor internet connection. This commit makes the situation a little better for that case. In the future, we can try to improve the behaviour further. Fixes: #52 --- src/probspecs.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/probspecs.nim b/src/probspecs.nim index 6bed5cdb..3edc9cf7 100644 --- a/src/probspecs.nim +++ b/src/probspecs.nim @@ -27,7 +27,7 @@ proc initProbSpecsRepo: ProbSpecsRepo = proc clone(repo: ProbSpecsRepo) = let cmd = &"git clone --quiet --depth 1 https://github.com/exercism/problem-specifications.git {repo.dir}" - logDetailed(&"Cloning the problem-specifications repo into {repo.dir}...") + logNormal(&"Cloning the problem-specifications repo into {repo.dir}...") execCmdException(cmd, "Could not clone problem-specifications repo") proc grainsWorkaround(repo: ProbSpecsRepo) =