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 1818import java .nio .charset .Charset ;
1919import java .nio .file .Files ;
2020import java .nio .file .Path ;
21- import java .nio .file .Paths ;
2221import java .util .List ;
2322import java .util .stream .Collectors ;
2423
2524import javax .annotation .Nonnull ;
2625
27- import com .diffplug .spotless .FormatExceptionPolicyStrict ;
2826import com .diffplug .spotless .Formatter ;
2927import com .diffplug .spotless .FormatterStep ;
3028import com .diffplug .spotless .LineEnding ;
@@ -69,9 +67,7 @@ public Integer executeSpotlessAction(@Nonnull List<FormatterStep> formatterSteps
6967 try (Formatter formatter = Formatter .builder ()
7068 .lineEndingsPolicy (lineEnding .createPolicy ())
7169 .encoding (encoding )
72- .rootDir (Paths .get ("." )) // TODO root dir?
7370 .steps (formatterSteps )
74- .exceptionPolicy (new FormatExceptionPolicyStrict ())
7571 .build ()) {
7672
7773 boolean success = targetResolver .resolveTargets ()
You can’t perform that action at this time.
0 commit comments