diff options
author | Robert Newson <rnewson@apache.org> | 2022-12-22 12:11:46 +0000 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2022-12-22 12:11:46 +0000 |
commit | ed7669adad819326a9f582b98748a62626d7ae69 (patch) | |
tree | a83e1cb0523afe311f293f0e0eed3a88766a27d1 | |
parent | dda872c2c15f098799a0784f23d549993dfa7921 (diff) | |
download | couchdb-ed7669adad819326a9f582b98748a62626d7ae69.tar.gz |
don't fall through case statement
-rw-r--r-- | share/server/nouveau.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/server/nouveau.js b/share/server/nouveau.js index e799aa134..595756db7 100644 --- a/share/server/nouveau.js +++ b/share/server/nouveau.js @@ -62,6 +62,7 @@ var Nouveau = (function() { if (options.facet) { index_results.push({'@type': 'double_dv', 'name': name, 'value': value}); } + break; default: throw({name: 'TypeError', message: 'value must be a string, a number or boolean not ' + typeof value}); } |