Skip to content

Commit

Permalink
fix smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Dec 3, 2024
1 parent f604025 commit 17d2827
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Juvix/Data/Effect/Git/Process.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tests/smoke/Commands/compile-dependencies.smoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17d2827

Please sign in to comment.