Skip to content

Commit 5cd85ee

Browse files
committed
Fix typo.
1 parent e8d747a commit 5cd85ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Compiler/Backend.gren

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ encodeCommand options command =
316316
command
317317
|> commandEncoder options.interactiveSession options.pathToString
318318
|> Json.encode 0
319+
|> (\jsonStr -> jsonStr ++ "\n")
319320
|> Bytes.fromString
320321

321322

@@ -325,7 +326,7 @@ commandEncoder interactive pathToString command =
325326
Repl flags ->
326327
Json.object
327328
[ { key = "command", value = Json.string "repl" }
328-
, { key = "intepreter" , value = maybeEncoder Json.string flags.interpreter }
329+
, { key = "interpreter" , value = maybeEncoder Json.string flags.interpreter }
329330
, { key = "project-path", value = Json.string <| pathToString flags.projectPath }
330331
, { key = "project-outline", value = Outline.toJson flags.outline }
331332
, { key = "sources", value = Json.dict identity Json.string flags.rootSources }

0 commit comments

Comments
 (0)