From 17d28278bab77fba689d83c112ad944aad56f603 Mon Sep 17 00:00:00 2001 From: Jan Mas Rovira Date: Tue, 3 Dec 2024 15:04:28 +0100 Subject: [PATCH] fix smoke --- src/Juvix/Data/Effect/Git/Process.hs | 2 +- .../Commands/compile-dependencies-package-juvix.smoke.yaml | 4 ++-- tests/smoke/Commands/compile-dependencies.smoke.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Juvix/Data/Effect/Git/Process.hs b/src/Juvix/Data/Effect/Git/Process.hs index e65ffb361b..72eb569c67 100644 --- a/src/Juvix/Data/Effect/Git/Process.hs +++ b/src/Juvix/Data/Effect/Git/Process.hs @@ -75,7 +75,7 @@ gitFetchOnline = withTaggedLockDir' (void (runGitCmdInDir ["fetch"])) gitCloneOnline :: (Members '[Logger, Error GitProcessError, ProcessE, Online, Reader CloneEnv] r) => Text -> Sem r () gitCloneOnline url = do p <- asks (^. cloneEnvDir) - logProgress (mkAnsiText ("Cloning " <> url <> " to " <> pack (toFilePath p))) + logInfo (mkAnsiText ("Cloning " <> url <> " to " <> pack (toFilePath p))) void (runGitCmd ["clone", url, T.pack (toFilePath p)]) cloneGitRepo :: (Members '[Logger, Files, ProcessE, Error GitProcessError, Reader CloneEnv, Internet] r) => Text -> Sem r () diff --git a/tests/smoke/Commands/compile-dependencies-package-juvix.smoke.yaml b/tests/smoke/Commands/compile-dependencies-package-juvix.smoke.yaml index f5c726762b..c6d26e6852 100644 --- a/tests/smoke/Commands/compile-dependencies-package-juvix.smoke.yaml +++ b/tests/smoke/Commands/compile-dependencies-package-juvix.smoke.yaml @@ -1115,13 +1115,13 @@ tests: EOF # compile project - juvix --log-level error compile native HelloWorld.juvix + juvix --log-level info compile native HelloWorld.juvix # delete the dependency to check that it's not required rm -rf $temp/dep # compile project - juvix --log-level error compile native HelloWorld.juvix + juvix --log-level info compile native HelloWorld.juvix stdout: contains: "" stderr: diff --git a/tests/smoke/Commands/compile-dependencies.smoke.yaml b/tests/smoke/Commands/compile-dependencies.smoke.yaml index c4ef3c0526..15e6b4f398 100644 --- a/tests/smoke/Commands/compile-dependencies.smoke.yaml +++ b/tests/smoke/Commands/compile-dependencies.smoke.yaml @@ -1156,13 +1156,13 @@ tests: EOF # compile project - juvix --log-level error compile native HelloWorld.juvix + juvix --log-level info compile native HelloWorld.juvix # delete the dependency to check that it's not required rm -rf $temp/dep # compile project - juvix --log-level error compile native HelloWorld.juvix + juvix --log-level info compile native HelloWorld.juvix stdout: contains: "" stderr: