From 550588418bd96d4e4d6b0e417bbcd914c4c390c7 Mon Sep 17 00:00:00 2001 From: thindil Date: Thu, 8 Feb 2024 04:34:59 +0000 Subject: [PATCH] refactor: fixed error reported by nimalyzer FossilOrigin-Name: 03d1a7366fe911931d160d80ae969bc4598a2a0a2f0315c8b587b2b4b7835161 --- src/types.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.nim b/src/types.nim index 02afe84a..7ffe309a 100644 --- a/src/types.nim +++ b/src/types.nim @@ -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