Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Feb 16, 2024
1 parent 1b21493 commit e667344
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Commands/Dev/Reg/Run.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import RegInterpreter
runCommand :: forall r. (Members '[Embed IO, App] r) => RegRunOptions -> Sem r ()
runCommand opts = do
afile :: Path Abs File <- fromAppPathFile file
s <- readFile (toFilePath afile)
case Reg.runParser (toFilePath afile) s of
s <- readFile afile
case Reg.runParser afile s of
Left err -> exitJuvixError (JuvixError err)
Right tab -> runReg tab
where
Expand Down

0 comments on commit e667344

Please sign in to comment.