summaryrefslogtreecommitdiff
path: root/Coolbal/FindRoot.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2021-02-19 12:26:10 +0100
committerTom Smeding <tom@tomsmeding.com>2021-02-19 12:26:10 +0100
commit08f53feceb1edb10f8b3a816021fb580b27e5b4c (patch)
tree0bbdc7dec598d05c36af270097533000946710b7 /Coolbal/FindRoot.hs
parent70f8330a21c335f36980f4b491d5b4e65a035c1c (diff)
Write to stderr, not stdout
Diffstat (limited to 'Coolbal/FindRoot.hs')
-rw-r--r--Coolbal/FindRoot.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Coolbal/FindRoot.hs b/Coolbal/FindRoot.hs
index ea6e297..fb65491 100644
--- a/Coolbal/FindRoot.hs
+++ b/Coolbal/FindRoot.hs
@@ -23,7 +23,7 @@ findCabalSpec = do
mfound <- findThingInDirs "cabal file" (`endsWith` ".cabal") doesFileExist FoundCabalSpec (ancestors cwd)
case mfound of
Just found -> do
- putStrLn ("Found .cabal file: " ++ foundcsCabal found)
+ hPutStrLn stderr ("Found .cabal file: " ++ foundcsCabal found)
return found
Nothing -> do
hPutStrLn stderr (".cabal file not found in ancestors of PWD: " ++ cwd)