-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add distTag
option
#151
Add distTag
option
#151
Conversation
@sindresorhus Could you help me review why this CI failed (for the Node.js 6 job)? Should I update the |
@SBoudrias ping |
.travis.yml
Outdated
- '4' | ||
- '8' | ||
- '10' | ||
- 'node' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't do unrelated changes.
index.js
Outdated
@@ -36,7 +37,7 @@ class UpdateNotifier { | |||
this.packageVersion = options.pkg.version; | |||
this.updateCheckInterval = typeof options.updateCheckInterval === 'number' ? options.updateCheckInterval : ONE_DAY; | |||
this.hasCallback = typeof options.callback === 'function'; | |||
this.callback = options.callback || (() => {}); | |||
this.callback = options.callback || (() => { }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't do unrelated changes.
Can you fix the merge conflict? |
@sindresorhus Code updated. |
Resolve #150