Skip to content

Commit 5d32aa2

Browse files
authored
Merge pull request #1380 from crytic/fix-1225
Quote paths on logging output
2 parents 80dfb3a + 4f7c102 commit 5d32aa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/Echidna/Solidity.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ compileContracts solConf fp = do
8888
stderr <- if solConf.quiet
8989
then UseHandle <$> openFile nullFilePath WriteMode
9090
else pure Inherit
91-
(ec, out, err) <- measureIO solConf.quiet ("Compiling " <> x) $ do
91+
(ec, out, err) <- measureIO solConf.quiet ("Compiling `" <> x <> "`") $ do
9292
readCreateProcessWithExitCode
9393
(proc path $ (solConf.cryticArgs ++ solargs) |> x) {std_err = stderr} ""
9494
case ec of

lib/Echidna/SourceAnalysis/Slither.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ runSlither fp solConf = if solConf.disableSlither
161161
Just path -> do
162162
let args = ["--ignore-compile", "--print", "echidna", "--json", "-"]
163163
++ solConf.cryticArgs ++ [fp]
164-
(exitCode, out, err) <- measureIO solConf.quiet ("Running slither on " <> fp) $
164+
(exitCode, out, err) <- measureIO solConf.quiet ("Running slither on `" <> fp <> "`") $
165165
readCreateProcessWithExitCode (proc path args) {std_err = Inherit} ""
166166
case exitCode of
167167
ExitSuccess ->

0 commit comments

Comments
 (0)