File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/de/donnerbart/split Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 77import org .slf4j .Logger ;
88import org .slf4j .LoggerFactory ;
99
10- import java .io .File ;
1110import java .nio .file .Files ;
11+ import java .nio .file .Paths ;
1212
1313public class TestSplitMain {
1414
@@ -31,7 +31,7 @@ public static void main(final @Nullable String @NotNull [] args) throws Exceptio
3131 final var excludeGlob = arguments .excludeGlob != null ? arguments .excludeGlob : "**/*Abstract*" ;
3232 final var workingDirectory = arguments .workingDirectory != null ?
3333 arguments .workingDirectory .toAbsolutePath () :
34- new File ( "" ). toPath ( ).toAbsolutePath ();
34+ Paths . get ( System . getProperty ( "user.dir" ) ).toAbsolutePath ();
3535 if (!Files .exists (workingDirectory )) {
3636 System .out .println ("Working directory does not exist: " + workingDirectory );
3737 System .exit (1 );
You can’t perform that action at this time.
0 commit comments