Commit 4a8a29b
authored
fix(log): no file made if no cache dir (#392)
On Neovim nightly (currently pre `v0.8`), the log file cannot be created
and writen to since the `.cache/nvim` directory is not created. This is
fixed by checking that the parent of the outfile does not exist and if
it doesn't creating the directory, as mentioned by Conni2461.
Fixes: GH-367
Signed-off-by: Filip Dutescu <[email protected]>1 parent 986ad71 commit 4a8a29b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments