Skip to content

Commit

Permalink
CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Apr 24, 2024
1 parent 3af8bb4 commit 7bb8ce5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Commands/Isabelle.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Commands.Isabelle where

import Commands.Base
import Commands.Isabelle.Options
import Data.Text.IO qualified as Text
import Juvix.Compiler.Backend.Isabelle.Data.Result
import Juvix.Compiler.Backend.Isabelle.Pretty

Expand All @@ -29,4 +28,4 @@ runCommand opts = do
)
absPath :: Path Abs File
absPath = outputDir <//> file
liftIO $ Text.writeFile (toFilePath absPath) (ppPrint thy)
writeFileEnsureLn absPath (ppPrint thy <> "\n")

0 comments on commit 7bb8ce5

Please sign in to comment.