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
Describe the bug standard-version ignores errors within custom updater scripts.
Current behavior
If an error occurs in the custom updater, standard-version will ignore it. Then, it will continue bumping other files.
Expected behavior
If an error occurs in the custom updater, standard-version should stop and throw the error properly in the console. Or at the very least, standard-version should show properly formatted error logs so that it would catch the attention of the developer.
Describe the bug
standard-version
ignores errors within custom updater scripts.Current behavior
If an error occurs in the custom updater,
standard-version
will ignore it. Then, it will continue bumping other files.Expected behavior
If an error occurs in the custom updater,
standard-version
should stop and throw the error properly in the console. Or at the very least,standard-version
should show properly formatted error logs so that it would catch the attention of the developer.Environment
standard-version
version(s): 9.5.0Possible Solution
In https://github.com/conventional-changelog/standard-version/blob/master/lib/lifecycles/bump.js#L144, there should be at least an error log to catch the attention of the developer.
Additional context
Here is a sample repo to replicate the issue: https://github.com/jeloagnasin/standard-version-issue
The text was updated successfully, but these errors were encountered: