Skip to content

Commit 4fcf806

Browse files
committed
fixed problems with hexletcheck
1 parent 6348172 commit 4fcf806

File tree

7 files changed

+2
-2
lines changed

7 files changed

+2
-2
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
68 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

app/src/main/java/hexlet/code/App.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public void run() {
3131
System.err.println("Ошибка при чтении файла: " + e.getMessage());
3232
} catch (IllegalArgumentException e) {
3333
if (e.getMessage().contains("Unsupported file format")) {
34-
System.err.println("Ошибка: неподдерживаемый формат файла. Поддерживаемые форматы: " +
35-
".json, .yaml, .yml.");
34+
System.err.println("Ошибка: неподдерживаемый формат файла. Поддерживаемые форматы: "
35+
+ ".json, .yaml, .yml.");
3636
} else if (e.getMessage().contains("Invalid file path")) {
3737
System.err.println("Ошибка: неверный путь к файлу. Проверьте правильность пути.");
3838
} else {

0 commit comments

Comments
 (0)