File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
cli/src/main/java/com/diffplug/spotless/cli Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 18
18
import java .nio .charset .Charset ;
19
19
import java .nio .file .Files ;
20
20
import java .nio .file .Path ;
21
- import java .nio .file .Paths ;
22
21
import java .util .List ;
23
22
import java .util .stream .Collectors ;
24
23
25
24
import javax .annotation .Nonnull ;
26
25
27
- import com .diffplug .spotless .FormatExceptionPolicyStrict ;
28
26
import com .diffplug .spotless .Formatter ;
29
27
import com .diffplug .spotless .FormatterStep ;
30
28
import com .diffplug .spotless .LineEnding ;
@@ -69,9 +67,7 @@ public Integer executeSpotlessAction(@Nonnull List<FormatterStep> formatterSteps
69
67
try (Formatter formatter = Formatter .builder ()
70
68
.lineEndingsPolicy (lineEnding .createPolicy ())
71
69
.encoding (encoding )
72
- .rootDir (Paths .get ("." )) // TODO root dir?
73
70
.steps (formatterSteps )
74
- .exceptionPolicy (new FormatExceptionPolicyStrict ())
75
71
.build ()) {
76
72
77
73
boolean success = targetResolver .resolveTargets ()
You can’t perform that action at this time.
0 commit comments