mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
1ff4f6ce7d
fixes https://github.com/TryGhost/Team/issues/834 - see referenced issue for context - there are times when `parentPort` can be null and the job crashes because `parentPort.postMessage` won't work - this commit adds guards around `parentPort`, or moves code inside existing guards, to protect against this |
||
---|---|---|
.. | ||
jobs | ||
index.js | ||
routes.js |