Skip to content

Commit d192904

Browse files
George Czabaniaisaacs
George Czabania
authored andcommitted
Fix: Return a value for view when in silent mode
1 parent acbbf7e commit d192904

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/view.js

+1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ function fetchAndRead (nv, args, silent, opts, cb) {
185185
}
186186

187187
if (silent) {
188+
return retval
188189
} else if (error) {
189190
throw error
190191
} else if (

0 commit comments

Comments
 (0)