Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: exit early on linux #29

Merged
merged 2 commits into from
Jun 11, 2018
Merged

feat: exit early on linux #29

merged 2 commits into from
Jun 11, 2018

Conversation

zeke
Copy link
Contributor

@zeke zeke commented Jun 5, 2018

This may help keep @felixrieseberg from spamming the service. 😛

cc @juliangruber

@zeke zeke requested a review from juliangruber June 5, 2018 14:27
Copy link
Contributor

@juliangruber juliangruber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..otherwise LGTM!

index.js Outdated
@@ -42,6 +43,12 @@ function initUpdater (opts) {
logger.log(...args)
}

// exit early on unsupported platforms, e.g. `linux`
if (typeof process && process.platform && !supportedPlatforms.includes(process.platform)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean typeof process !== 'undefined'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah that was not a good falsy check. Fixed.

@zeke zeke merged commit be2d4c1 into master Jun 11, 2018
@zeke zeke deleted the bail-on-linux branch June 11, 2018 19:03
@zeke
Copy link
Contributor Author

zeke commented Jun 11, 2018

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants