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 30, 2019
1 parent acbbf7e commit d192904
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 d192904

Please sign in to comment.