From 97d92c43b70d713dc00cc07f32632d51747f0dee Mon Sep 17 00:00:00 2001 From: George Czabania Date: Fri, 22 Mar 2019 20:18:18 +1300 Subject: [PATCH] Fix: Return a value for `view` when in silent mode --- lib/view.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/view.js b/lib/view.js index fc10a2f4ac461..a16884e25f647 100644 --- a/lib/view.js +++ b/lib/view.js @@ -185,6 +185,7 @@ function fetchAndRead (nv, args, silent, opts, cb) { } if (silent) { + return retval } else if (error) { throw error } else if (