From e93bd68c7399964b580238d9678a17e5b5f789d2 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Fri, 10 Aug 2018 10:25:59 +0100 Subject: [PATCH] tighter jobs-special --- plugins/filter_md_jobs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/filter_md_jobs.js b/plugins/filter_md_jobs.js index 1e94ca4..0f2cedd 100644 --- a/plugins/filter_md_jobs.js +++ b/plugins/filter_md_jobs.js @@ -4,10 +4,10 @@ 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) { + /*if (result || resultB === true) { console.log(patt.exec(itemOptions.description)); console.log(patt.exec(itemOptions.title)); - } + }*/ return (result || resultB === true) ? itemOptions : -1 ; // console.log('>> Filter_md_jobs', (result||resultB === true)); // return itemOptions;