Skip to content

Commit

Permalink
$pretty up a $logInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
kadoban committed Aug 23, 2017
1 parent 22f515c commit f6299ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ import Stack.Options.Utils
import qualified Stack.PackageIndex
import qualified Stack.Path
import Stack.PrettyPrint hiding (display)
import qualified Stack.PrettyPrint as P
import Stack.Runners
import Stack.Script
import Stack.SDist (getSDistTarball, checkSDistTarball, checkSDistTarball', SDistOpts(..))
Expand Down Expand Up @@ -709,7 +710,7 @@ sdistCmd sdistOpts go =
ensureDir (parent tarPath)
liftIO $ L.writeFile (toFilePath tarPath) tarBytes
checkSDistTarball sdistOpts tarPath
$logInfo $ "Wrote sdist tarball to " <> T.pack (toFilePath tarPath)
$prettyInfoL [flow "Wrote sdist tarball to", P.display tarPath]
when (sdoptsSign sdistOpts) (void $ Sig.sign (sdoptsSignServerUrl sdistOpts) tarPath)

-- | Execute a command.
Expand Down

0 comments on commit f6299ed

Please sign in to comment.