Skip to content

Commit

Permalink
sync(exercises): clarify call vs field access
Browse files Browse the repository at this point in the history
  • Loading branch information
ee7 committed May 7, 2021
1 parent eff7a4b commit 9933467
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sync/exercises.nim
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ proc toToml(exercise: Exercise, testsPath: string): string =
result.add "include = false\n"

# Always output the `reimplements` value, if present
if testCase.reimplements.isSome:
result.add &"reimplements = \"{testCase.reimplements.get.uuid}\"\n"
if testCase.reimplements.isSome():
result.add &"reimplements = \"{testCase.reimplements.get().uuid}\"\n"

if fileExists(testsPath):
let currContents = parsetoml.parseFile(testsPath)
Expand Down

0 comments on commit 9933467

Please sign in to comment.