-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fixed Type Error in release.js #93
base: main
Are you sure you want to change the base?
Conversation
@erickzhao I have created a pr kindly check and let me know if any changes are needed. |
if (parsed.prerelease.length) { | ||
releaseNotes = releaseNotes.split(new RegExp(`@${escapeRegExp(version.substr(1))}\`?.`))[1]; | ||
} | ||
releaseNotes = | ||
'# Release Notes\n' + | ||
releaseNotes.replace(/# Release Notes for [^\r\n]+(?:(?:\n)|(?:\r\n))/i, ''); | ||
}else{ |
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 formatting is not correct (did you run lint?)
@@ -0,0 +1,2910 @@ | |||
{ | |||
"name": "@electron/history", |
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 should not be committed.
@@ -4,15 +4,15 @@ | |||
|
|||
"@electron/github-app-auth@^1.2.0": | |||
version "1.2.0" | |||
resolved "https://registry.yarnpkg.com/@electron/github-app-auth/-/github-app-auth-1.2.0.tgz#004b0926116f88d537f1291c00ca751241bff1af" | |||
resolved "https://registry.npmjs.org/@electron/github-app-auth/-/github-app-auth-1.2.0.tgz" |
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 should not be changed.
@Ishaparte please see review comments. Additionally, please ensure your commit adheres to project standards and your commits are signed. |
PR Description
Fixed issue #6
release.body.replace()
.release.body
being undefined.releaseNotes
before calling.replace()
.No release note available.