semantic-release / travis-deploy-once

🚫Test multiple node versions on Travis. Deploy once. If all of them pass.
MIT License
33 stars 7 forks source link

docs: fix JavaScript example in the README #37

Closed eventualbuddha closed 6 years ago

eventualbuddha commented 6 years ago

Closes #36

I chose to put the code that uses result inside the try block because it only really makes sense to use the result value when deployOnce succeeds.

pvdlg commented 6 years ago

Thanks!