hebcal / hebcal-js

⛔️ DEPRECATED - a perpetual Jewish Calendar (JavaScript)
GNU General Public License v3.0
123 stars 40 forks source link

Don't crash on each startup #31

Closed dredozubov closed 8 years ago

dredozubov commented 8 years ago

Currently every script in bin/ crashes noisily with a

        throw new TypeError('invalid pid');
        ^

TypeError: invalid pid
    at process.kill (node.js:767:15)
    at Object.<anonymous> (/Users/dr/workspace/24slash6/node_modules/hebcal/bin/day.js:190:10)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:457:10)
    at startup (node.js:136:18)
    at node.js:972:3

This change is Reviewable