We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b6ec49 commit 883db9cCopy full SHA for 883db9c
1 file changed
test/template/publish.js
@@ -22,12 +22,14 @@ function sanitizeObject(obj) {
22
23
/**
24
* Publish hook for the JSDoc template. Writes to JSON stdout.
25
- * @param {Function} data The root of the Taffy DB containing doclet records.
+ * @param {Function} data The root of the Salty DB containing doclet records.
26
* @param {Object} opts Options.
27
* @return {Promise} A promise that resolves when writing is complete.
28
*/
29
exports.publish = function (data, opts) {
30
- const docs = data({kind: {'!is': 'package'}}).get();
+ const docs = data(function () {
31
+ return this.kind !== 'package';
32
+ }).get();
33
34
const sanitized = docs.map((doclet) => {
35
const obj = JSON.parse(JSON.stringify(doclet));
0 commit comments