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

Cli: version is necessary, may not be sufficient #3696

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scalafmt-cli/src/main/scala/org/scalafmt/cli/Cli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ object Cli {
options: CliOptions
): MaybeRunner = options.hoconOpt.fold[MaybeRunner] {
Left(s"""error: missing Scalafmt configuration file.
|Consider creating '${options.getProposedConfigFile}' with the following:
|Consider creating '${options.getProposedConfigFile}'
|with the following (other parameters may also be required):
|${getProposedConfigVersion(options)}
|""".stripMargin)
} {
Expand Down
Loading