Skip to content

Commit

Permalink
Fix pgt Main to exit with the correct edit code
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Nov 9, 2023
1 parent 15cf194 commit ec341fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pgt/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PGT.Prelude
import System.Environment (getArgs)

import qualified PGT.CLI
import qualified System.Exit as System

-- | Main entry point
main :: IO ()
main = PGT.CLI.run =<< getArgs
main = System.exitWith =<< PGT.CLI.run =<< getArgs

0 comments on commit ec341fa

Please sign in to comment.