From a8fb8ce96d967933ec461c2089f173adb0bdcfd4 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 10 Aug 2018 10:14:41 +0100 Subject: [PATCH] tighter jobs-special --- plugins/filter_md_jobs.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/filter_md_jobs.js b/plugins/filter_md_jobs.js index 9fe38e8..fe9ba50 100644 --- a/plugins/filter_md_jobs.js +++ b/plugins/filter_md_jobs.js @@ -4,6 +4,7 @@ module.exports = function (item, itemOptions, source) { const resultB = patt.test(itemOptions.title); console.log('My Filter:', (result || resultB === true) ? 'Pass' : 'Reject'); + if (result || resultB === true) console.log(itemOptions); return (result || resultB === true) ? itemOptions : -1 ; // console.log('>> Filter_md_jobs', (result||resultB === true)); // return itemOptions;