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 extra line in generated ballerina source in grpc tool #60

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

randilt
Copy link
Contributor

@randilt randilt commented Jan 7, 2025

  • Resolved an issue where generated ballerina source files for grpc tool contained extra trailing newlines.
  • Updated the writeOutputFile method to ensure only one newline at the end of each generated file.
  • Added a test case to verify the newline handling.

Purpose

Resolves #3953

Examples

Checklist

  • Linked to an issue
  • Updated the changelog
  • Added tests
  • Updated the spec

- Resolved an issue where generated source files contained extra
  trailing newlines.
- Updated the writeOutputFile method to ensure only one newline at the
  end of each generated file.
- Added a test case to verify the newline handling.
@CLAassistant
Copy link

CLAassistant commented Jan 7, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@daneshk daneshk left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you, @randilt, for your contribution

@daneshk daneshk merged commit 19c92ce into ballerina-platform:main Jan 8, 2025
3 checks passed
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.

Extra line is included in generated ballerina source in grpc tool
3 participants