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 formatting of module info to avoid space right before semicolons … #551

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

BjornJaspers
Copy link
Contributor

…(Fixes #550)

What changed with this PR:

Fix for #550

Example

// Input
open module org.myorg.module {
    requires some.required.module;

    exports  org.myorg.module.exportpackage ;
    opens  org.myorg.module.openpackage ;
}

// Prettier 1.6.2
open module org.myorg.module {
    requires some.required.module;

    exports org.myorg.module.exportpackage ;
    opens org.myorg.module.openpackage ;
}

// Output
open module org.myorg.module {
    requires some.required.module;

    exports org.myorg.module.exportpackage;
    opens org.myorg.module.openpackage;
}

Relative issues or prs:

#550

@CLAassistant
Copy link

CLAassistant commented Sep 7, 2022

CLA assistant check
All committers have signed the CLA.

@clementdessoude
Copy link
Contributor

Thank you for your contribution @BjornJaspers !

@clementdessoude clementdessoude merged commit d7b6430 into jhipster:main Sep 12, 2022
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.

Unwanted space in "exports"-statement in module-info.java
3 participants