nydus / heroprotocol

heroprotocol is a Javascript port of Blizzard/heroprotocol for Heroes of the Storm .StormReplay parsing
Other
19 stars 10 forks source link

Made sure storm-replay is available before we try to use it. #22

Closed GaryIrick closed 4 years ago

GaryIrick commented 4 years ago

This makes sure we don't try to use storm-replay if it's not available. I believe this fixes a problem where a parse on MacOS or Linux would fail if the storm-replay dependency has not been installed.

You could probably drop the OS check and just check for storm, but I don't know what the expectations are on Windows, so I left it alone.