Commit 6c5bc07
LittleCoinCoin
fix(dev): remove host configuration
Hosts configuration files might not only be used for mcp configurations.
Hence, the remove operation might must not delete the file altogether, but simply clear the mcp field.
- Replace the `unlink()` call by the creation of an empty `HostConfiguration` and write it to the host configuration file.1 parent ce6ecc6 commit 6c5bc07
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
0 commit comments