about summary refs log tree commit diff stats
path: root/src/js/fromjs.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-12-28 21:19:21 +0100
committerbptato <nincsnevem662@gmail.com>2023-12-28 21:23:26 +0100
commitd91d1dda2ad1219b3b798eafc14151811ed9a1b3 (patch)
treef82d8da0763f0dbc62dedb2aa9aaa51114d2aad9 /src/js/fromjs.nim
parentb035e53d641d71fab89f92cd8d5188501be0d058 (diff)
downloadchawan-d91d1dda2ad1219b3b798eafc14151811ed9a1b3.tar.gz
Compile with styleCheck:usages
much better
Diffstat (limited to 'src/js/fromjs.nim')
-rw-r--r--src/js/fromjs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/fromjs.nim b/src/js/fromjs.nim
index bddaa2e1..2ffdb9e2 100644
--- a/src/js/fromjs.nim
+++ b/src/js/fromjs.nim
@@ -226,7 +226,7 @@ proc fromJSSeq[T](ctx: JSContext, val: JSValue): JSResult[seq[T]] =
       return err()
     defer: JS_FreeValue(ctx, valueVal)
     let genericRes = fromJS[typeof(s[0])](ctx, valueVal)
-    if genericRes.isnone: # exception
+    if genericRes.isNone: # exception
       return err()
     s.add(genericRes.get)
   return ok(s)