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

[Bug]: Executing spotless apply of a module alone will report an error that the file cannot be found. #3143

Open
1 of 2 tasks
huyuanfeng2018 opened this issue Aug 29, 2024 · 1 comment · May be fixed by #3198
Open
1 of 2 tasks
Labels
type:bug Something isn't working

Comments

@huyuanfeng2018
Copy link
Contributor

What happened?

As title

Affects Versions

master

What table formats are you seeing the problem on?

No response

What engines are you seeing the problem on?

No response

How to reproduce

If you execute spotless: apply on a module alone, an error will be reported:

Could not find resource 'tools/maven/scalafmt.conf'.

Relevant log output

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@huyuanfeng2018 huyuanfeng2018 added the type:bug Something isn't working label Aug 29, 2024
@engraving-knife
Copy link
Contributor

The location of the scalafmt.conf file is based on the parent module.You need to execute spotless:apply in the parent directory, for example, you can use the command mvn spotless:apply -pl amoro-common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants