fixes
This commit is contained in:
parent
b8a0f540a3
commit
a62487b36b
7 changed files with 16 additions and 19 deletions
|
|
@ -359,7 +359,9 @@ export const getResourcesIndex = async (url, parser = (x) => x) => {
|
|||
|
||||
const total = [...custom, ...builtin]
|
||||
if (total.length === 0) {
|
||||
throw new Error(`Resource at ${url} and ${customUrl} completely unavailable. Panicking`)
|
||||
throw new Error(
|
||||
`Resource at ${url} and ${customUrl} completely unavailable. Panicking`,
|
||||
)
|
||||
}
|
||||
return Object.fromEntries(total)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue