Commit 7a5a398
authored
fix: makes doc dir before writing to it and adds to .gitignore (#426)
When writing docs, if you do not already have a `/src/docs` directory, the script would fail while attempting to write to it. Now it checks for that directory and creates one if needed. The reason this could happen is because that directory is ignored from git, and so unless you've previously written to it, you will not have this directory on your machine.1 parent be2a193 commit 7a5a398
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
188 | 194 | | |
189 | 195 | | |
190 | 196 | | |
| |||
0 commit comments