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
Hi team,
I'd like to work on this issue. Could you please assign it to me? I'll start investigating the error and work towards resolving it.
Thanks!
Vinay Kumar
Hi,
I have gone through the error. In the code, releaseNotes is being split by a regular expression, and the second part (index [1]) is being assigned back to releaseNotes. If the split operation does not result in at least two elements (meaning the regular expression did not match anything), releaseNotes will be undefined, and trying to call replace on it will throw the error.
Bug fixing: Check if releaseNotes is undefined after the split operation.
I have sent u a pull request. Please review it.
One question I want to ask is that what will be the releaseNotes and notes if it won't be split by regular expression?
The text was updated successfully, but these errors were encountered: