Skip to content

Commit

Permalink
Update for new JS renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
process-bot committed Mar 31, 2016
1 parent b73a26c commit 7419693
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Pipeline/Compile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import qualified Data.List as List
import qualified Data.Map as Map
import qualified Data.Maybe as Maybe
import qualified Data.Set as Set
import qualified Data.Text.Lazy.IO as LazyTextIO
import qualified Elm.Compiler as Compiler
import qualified Elm.Compiler.Module as Module
import qualified Elm.Docs as Docs
Expand Down Expand Up @@ -147,7 +148,7 @@ buildManager env state =
do -- Write build artifacts to disk
let cache = cachePath env
File.writeBinary (Path.toInterface cache modul) interface
writeFile (Path.toObjectFile cache modul) js
LazyTextIO.writeFile (Path.toObjectFile cache modul) js

-- Report results to user
Chan.writeChan (reportChan env) (Report.Complete modul localizer path source warnings)
Expand Down

0 comments on commit 7419693

Please sign in to comment.