Skip to content

Commit

Permalink
Merge pull request #284 from mbj/fix/pgt-app-exit-code
Browse files Browse the repository at this point in the history
Fix pgt Main to exit with the correct edit code
  • Loading branch information
dkubb authored Nov 9, 2023
2 parents 15cf194 + ec341fa commit 5aef042
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 5aef042

Please sign in to comment.