Skip to content

Commit 6348172

Browse files
committed
fixed problems with hexletcheck
1 parent 9fa1c2a commit 6348172

File tree

7 files changed

+2
-1
lines changed

7 files changed

+2
-1
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.
102 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +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("Ошибка: неподдерживаемый формат файла. Поддерживаемые форматы: .json, .yaml, .yml.");
34+
System.err.println("Ошибка: неподдерживаемый формат файла. Поддерживаемые форматы: " +
35+
".json, .yaml, .yml.");
3536
} else if (e.getMessage().contains("Invalid file path")) {
3637
System.err.println("Ошибка: неверный путь к файлу. Проверьте правильность пути.");
3738
} else {

0 commit comments

Comments
 (0)