Commit 31c3675
committed
Return None when edited file does not exist
If a user edits a new, non-existent file and decides to not save it,
edit() will return None instead of raising an exception.1 parent a51b6ff commit 31c3675
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
101 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
0 commit comments