Commit 9cbd069
committed
Make path comparison case insensitive
On one mac os x system, the directory is reported as /Users/username/exercism in one place
and /users/username/exercism in another. Since both mac and windows are case insensitive in terms
of creating directories on a system (cannot have Hello and hello in the same location), lowercasing
both the filename and the directory before comparing them seems like a fairly innocuous approach.1 parent 6fb4516 commit 9cbd069
2 files changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
0 commit comments