diff --git a/src/main.cr b/src/main.cr index 116768e..a15edb9 100644 --- a/src/main.cr +++ b/src/main.cr @@ -92,4 +92,5 @@ if options["-f"] outf = File.open(options["-o"].as(String), "w") end formatter.format(input, lexer, outf) + outf.close end