Skip to content

Commit

Permalink
Cli: version is necessary, may not be sufficient
Browse files Browse the repository at this point in the history
  • Loading branch information
kitbellew committed Nov 16, 2023
1 parent 5ca327a commit 4540aa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scalafmt-cli/src/main/scala/org/scalafmt/cli/Cli.scala
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

0 comments on commit 4540aa4

Please sign in to comment.