Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Dec 21, 2019
1 parent 9de36f5 commit d955498
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,6 @@ proc writeJsonBuildInstructions*(conf: ConfigRef) =

lit "\L}\L"
close(f)
# we really should use json apis (eg %* and %) instead of all those `lit`,
# no need for premature optimization
writeFile $jsonFile, ($jsonFile).parseFile.pretty

proc changeDetectedViaJsonBuildInstructions*(conf: ConfigRef; projectfile: AbsoluteFile): bool =
let jsonFile = toGeneratedFile(conf, projectfile, "json")
Expand Down

0 comments on commit d955498

Please sign in to comment.