Skip to content

Commit 8d871f5

Browse files
authored
Merge pull request #94 from codecrafters-io/andy/fix
Refine error messages in course-definition.yml for consistency
2 parents a28373f + 9bcc3ef commit 8d871f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

course-definition.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -940,17 +940,17 @@ stages:
940940
941941
```bash
942942
$ ls nonexistent >> /tmp/foo/baz.md
943-
ls: cannot access 'nonexistent': No such file or directory
943+
ls: nonexistent: No such file or directory
944944
$ ls nonexistent 2>> /tmp/foo/qux.md
945945
$ cat /tmp/foo/qux.md
946-
ls: cannot access 'nonexistent': No such file or directory
946+
ls: nonexistent: No such file or directory
947947
$ echo "James says Error" 2>> /tmp/foo/quz.md
948948
James says Error
949949
$ cat nonexistent 2>> /tmp/foo/quz.md
950950
$ ls nonexistent 2>> /tmp/foo/quz.md
951951
$ cat /tmp/foo/quz.md
952952
cat: nonexistent: No such file or directory
953-
ls: cannot access 'nonexistent': No such file or directory
953+
ls: nonexistent: No such file or directory
954954
```
955955
956956
The tester will check if the commands correctly execute commands and append their standard error to a file as specified.

0 commit comments

Comments
 (0)