This repository was archived by the owner on Feb 16, 2023. It is now read-only.
Commit 8b610da
committed
Fix infinite recursive call
fmt.Sprint would call the String function on the FileMode, which
again would call fmt.Sprint, looping like this forever.
Instead, we now call the String function that's already implemented
on os.FileMode1 parent 08f9ba4 commit 8b610da
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments