Skip to content

Comments

Fix extra line in generated ballerina source in grpc tool#60

Merged
daneshk merged 2 commits intoballerina-platform:mainfrom
randilt:extra-line-fix-grpc-source
Jan 8, 2025
Merged

Fix extra line in generated ballerina source in grpc tool#60
daneshk merged 2 commits intoballerina-platform:mainfrom
randilt:extra-line-fix-grpc-source

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.

Co-authored-by: Danesh Kuruppu <daneshk@users.noreply.github.com>
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
2 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