Skip to content

Commit

Permalink
Merge pull request #1958 from Saisse/fix-invalid-scalac-option
Browse files Browse the repository at this point in the history
OrganizeImports: fix invalid recommended scalac option
  • Loading branch information
bjaglin authored Mar 12, 2024
2 parents 6d82649 + 533ed53 commit 8a1248d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -916,8 +916,7 @@ object OrganizeImports {
Configured.error(
"A Scala compiler option is required to use OrganizeImports with"
+ " \"OrganizeImports.removeUnused\" set to true. To fix this problem, update your"
+ " build to add `-Ywarn-unused` (2.12), `-Wunused:imports` (2.13), or"
+ " `-Wunused:import` (3.4+)."
+ " build to add `-Ywarn-unused` (2.12) or `-Wunused:imports` (2.13 and 3.4+)."
)
else
Configured.error(
Expand Down

0 comments on commit 8a1248d

Please sign in to comment.