This repository was archived by the owner on May 16, 2024. It is now read-only.
Commit 5b6b6ca
committed
fix: ensure index path exists before reading
This changeset ensures the index.json exists before trying to read it.
When first fetching the `registry.json` would get created but not the
`index.json` and an error would be thrown.
Instead of creating `index.json` we just check for it.1 parent 927f937 commit 5b6b6ca
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments