Skip to content
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

fix(Changelogs): storyId as string, fix parse last line #361

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

Feverqwe
Copy link
Contributor

Parse storyId as string
Fix parse changelogs, when close block without new line after

@Feverqwe Feverqwe force-pushed the changeChangelogsPraser branch from c9742e2 to 8674727 Compare January 17, 2024 18:18
log.error(`Changelog block must be closed${filepath ? ` in ${bold(filepath)}` : ''}`);
break;
}
let endPos = endBlockPos + BLOCK_END.length;
if (result[endPos + 1] === '\n') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose you should add a test about it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! Thx!

@Feverqwe Feverqwe force-pushed the changeChangelogsPraser branch from b508d29 to f30b6ec Compare January 18, 2024 02:37
@Feverqwe Feverqwe merged commit e4aa941 into master Jan 18, 2024
1 check passed
@Feverqwe Feverqwe deleted the changeChangelogsPraser branch January 18, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants