tighter jobs-special
This commit is contained in:
parent
1bb2920633
commit
75f02b9954
@ -1,5 +1,5 @@
|
||||
module.exports = function (item, itemOptions, source) {
|
||||
const patt = /(glasgow|london|edinburgh)/ig;
|
||||
const patt = /(glasgow|london|edinburgh|milton keynes)/ig;
|
||||
const result = patt.test(itemOptions.description);
|
||||
const resultB = patt.test(itemOptions.title);
|
||||
console.log('Location:', (result || resultB === true) ? 'Pass' : 'Reject');
|
||||
|
Loading…
Reference in New Issue
Block a user