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

JS-174 Generate Java classes for deserialization of ESTree #4714

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

saberduck
Copy link
Contributor

Fixes #JS-174

Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

Comment on lines -353 to +356
fs.writeFileSync(path.join('output', 'ast.proto'), addPrefix(translateToProtoFormat(messages)));
fs.writeFileSync(
path.join('output', 'estree.proto'),
addPrefix(translateToProtoFormat(messages)),
);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not write the file to sonar-plugin/bridge/src/main/protobuf/estree.proto here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hmm, I don't want the tool to touch directories outside of itself; this is OK, IMO. Anyway, it will be used manually.

Copy link
Contributor

@ilia-kebets-sonarsource ilia-kebets-sonarsource left a comment

Choose a reason for hiding this comment

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

LGTM

@saberduck saberduck merged commit 720d1c6 into master May 29, 2024
22 of 23 checks passed
@saberduck saberduck deleted the JS-174 branch May 29, 2024 16:18
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