Skip to content

Commit

Permalink
refactor: fixed error reported by nimalyzer
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 03d1a7366fe911931d160d80ae969bc4598a2a0a2f0315c8b587b2b4b7835161
  • Loading branch information
thindil committed Feb 8, 2024
1 parent 893daff commit 5505884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,6 @@ proc to*(dbVal: DbValue, T: typedesc[Path]): T {.raises: [], tags: [
## Returns the converted dbVal parameter
body:
try:
dbVal.s.Path
dbVal.s.T
except:
"".Path
"".T

0 comments on commit 5505884

Please sign in to comment.