about summary refs log tree commit diff stats
path: root/src/local/pager.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/pager.nim')
-rw-r--r--src/local/pager.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/local/pager.nim b/src/local/pager.nim
index cb3f751e..ebe48a61 100644
--- a/src/local/pager.nim
+++ b/src/local/pager.nim
@@ -321,6 +321,7 @@ proc gotoLine(ctx: JSContext; pager: Pager; val = JS_UNDEFINED): Opt[void]
     var s: string
     ?ctx.fromJS(val, s)
     pager.container.gotoLine(s)
+  return ok()
 
 proc dumpAlerts*(pager: Pager) =
   for msg in pager.alerts: