Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzobaz committed Mar 8, 2021
1 parent a18465c commit 71283d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class RemoveUnused(config: RemoveUnusedConfig)
val isUnusedImport = mutable.Set.empty[Position]
val isUnusedPattern = mutable.Set.empty[Position]

val unusedPatterExpr = raw"^pattern var .* in (value|method) .* is never used".r
val unusedPatterExpr =
raw"^pattern var .* in (value|method) .* is never used".r

doc.diagnostics.foreach { diagnostic =>
if (config.imports && diagnostic.message == "Unused import") {
Expand Down

0 comments on commit 71283d3

Please sign in to comment.