tighter jobs-special

This commit is contained in:
Martin Donnelly 2018-08-10 10:25:59 +01:00
parent 42a036f893
commit e93bd68c73

View File

@ -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;