Commit f74448e
committed
fix: preserve file extensions in pull_from_gist backup (line 674)
Applies the same fix from line 551 to line 674: use with_file_name(format!("{}.bak", file_name))
instead of with_extension("md.bak") to append .bak extension rather than replace it.
Ensures settings.json → settings.json.bak instead of settings.md.bak1 parent 1c55739 commit f74448e
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
686 | 691 | | |
687 | 692 | | |
688 | 693 | | |
| |||
0 commit comments