Open SimonSimCity opened 6 years ago
I guess this code:
https://github.com/vsivsi/meteor-job-collection/blob/3ec32befcf195c157bcdc100a4a82603045970d5/src/shared.coffee#L888
should check for if doc.repeatWait isn't a number - not if the actual value isn't number, right? This is also shown a few lines earlier:
doc.repeatWait
number
https://github.com/vsivsi/meteor-job-collection/blob/3ec32befcf195c157bcdc100a4a82603045970d5/src/shared.coffee#L876
I guess this code:
https://github.com/vsivsi/meteor-job-collection/blob/3ec32befcf195c157bcdc100a4a82603045970d5/src/shared.coffee#L888
should check for if
doc.repeatWait
isn't a number - not if the actual value isn'tnumber
, right? This is also shown a few lines earlier:https://github.com/vsivsi/meteor-job-collection/blob/3ec32befcf195c157bcdc100a4a82603045970d5/src/shared.coffee#L876