Skip to content

Commit

Permalink
Fix: Return a value for view when in silent mode
Browse files Browse the repository at this point in the history
  • Loading branch information
George Czabania authored and isaacs committed Jun 29, 2019
1 parent da36956 commit 97d92c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ function fetchAndRead (nv, args, silent, opts, cb) {
}

if (silent) {
return retval
} else if (error) {
throw error
} else if (
Expand Down

0 comments on commit 97d92c4

Please # to comment.