tighter jobs-special
This commit is contained in:
parent
42a036f893
commit
e93bd68c73
@ -4,10 +4,10 @@ module.exports = function (item, itemOptions, source) {
|
|||||||
const resultB = patt.test(itemOptions.title);
|
const resultB = patt.test(itemOptions.title);
|
||||||
|
|
||||||
console.log('My Filter:', (result || resultB === true) ? 'Pass' : 'Reject');
|
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.description));
|
||||||
console.log(patt.exec(itemOptions.title));
|
console.log(patt.exec(itemOptions.title));
|
||||||
}
|
}*/
|
||||||
return (result || resultB === true) ? itemOptions : -1 ;
|
return (result || resultB === true) ? itemOptions : -1 ;
|
||||||
// console.log('>> Filter_md_jobs', (result||resultB === true));
|
// console.log('>> Filter_md_jobs', (result||resultB === true));
|
||||||
// return itemOptions;
|
// return itemOptions;
|
||||||
|
Loading…
Reference in New Issue
Block a user