Skip to content

Commit

Permalink
fix error in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Haim Yadid committed Dec 7, 2022
1 parent ac09f30 commit 03264ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private static void resolvePlugins(ArrayList<Class<?>> plugins) {
}

String text = new String(inputStream.readAllBytes());
for (var line : text.split("\n")) {
for (var line : text.split(System.lineSeparator())) {
try {
plugins.add(Class.forName(line));
} catch (Exception e) {
Expand Down

0 comments on commit 03264ec

Please sign in to comment.