You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2fd3252
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.
This is actually a potentially breaking change if someone is using our library and expecting the error to say 'Failed to read git tags.'
We should add a
BREAKING CHANGE:
footer to this commit.2fd3252
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.
Oh because I moved more git logics from index.js to lib/git.js, the error would be
'Failed to read git log.\n' + 'Failed to read git tags.\n' + error
so it looks weird.instead of just 'Failed to read git tags.\n' + error`
I thought it was good to just have
'Failed to read git log.\n + error
even if it's beause 'Failed to read git log.\n' + errorNow I think it's probably ok to have
'Failed to read git log.\n' + 'Failed to read git tags.\n' + error