File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
modules/cli/src/main/scala/scala/cli/commands/fix Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,17 @@ object Fix extends ScalaCommand[FixOptions] {
30
30
val configDb = ConfigDbUtils .configDb.orExit(logger)
31
31
if options.enableBuiltInRules then {
32
32
logger.message(" Running built-in rules..." )
33
- BuiltInRules .runRules(
34
- inputs = inputs,
35
- buildOptions = buildOpts,
36
- logger = logger
37
- )
38
- logger.message(" Built-in rules completed." )
33
+ if options.check then
34
+ // TODO support --check for built-in rules: https://github.com/VirtusLab/scala-cli/issues/3423
35
+ logger.message(" Skipping, '--check' is not yet supported for built-in rules." )
36
+ else {
37
+ BuiltInRules .runRules(
38
+ inputs = inputs,
39
+ buildOptions = buildOpts,
40
+ logger = logger
41
+ )
42
+ logger.message(" Built-in rules completed." )
43
+ }
39
44
}
40
45
if options.enableScalafix then
41
46
either {
You can’t perform that action at this time.
0 commit comments