Skip to content

Commit 6cdbd1c

Browse files
Move FmtUtil to the scala.cli.commands.fmt namespace
1 parent e18c76d commit 6cdbd1c

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

modules/cli/src/main/scala/scala/cli/commands/fmt/Fmt.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import scala.build.options.BuildOptions
99
import scala.build.{Logger, Sources}
1010
import scala.cli.CurrentParams
1111
import scala.cli.commands.ScalaCommand
12+
import scala.cli.commands.fmt.FmtUtil.*
1213
import scala.cli.commands.shared.SharedOptions
1314
import scala.cli.commands.util.FmtOptionsUtil.*
14-
import scala.cli.commands.util.FmtUtil.*
1515
import scala.cli.commands.util.SharedOptionsUtil.*
1616
import scala.cli.commands.util.VerbosityOptionsUtil.*
1717

modules/cli/src/main/scala/scala/cli/commands/util/FmtUtil.scala renamed to modules/cli/src/main/scala/scala/cli/commands/fmt/FmtUtil.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package scala.cli.commands.util
1+
package scala.cli.commands.fmt
22

33
import com.typesafe.config.parser.{ConfigDocument, ConfigDocumentFactory}
44
import com.typesafe.config.{ConfigParseOptions, ConfigSyntax}

modules/cli/src/test/scala/cli/tests/ScalafmtTest.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ package cli.tests
22
import com.eed3si9n.expecty.Expecty.expect
33

44
import scala.build.tests.{TestInputs, TestLogger}
5-
import scala.cli.commands.fmt.FmtOptions
6-
import scala.cli.commands.util.FmtUtil
5+
import scala.cli.commands.fmt.{FmtOptions, FmtUtil}
76

87
class ScalafmtTests extends munit.FunSuite {
98

0 commit comments

Comments
 (0)