Commit cddb138
committed
fix(config) export profile: write default cfg to exportPath when cfg does not exist
#214 removed writing
the default config to file on start. So no config file exists for the
default profile if user did never set a value. This lead to an error
when exporting the non-existent config of the default profile.
This fix writes the default config to exportPath in this case.1 parent fad8e6d commit cddb138
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
434 | 435 | | |
435 | 436 | | |
436 | 437 | | |
437 | | - | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
438 | 445 | | |
439 | 446 | | |
440 | 447 | | |
| |||
0 commit comments