Don't check api.json files into git (#3565)
These were needed when the docs lived in a different repo, but they don't any more so we can get rid of them. ### Change Type - [x] `internal` — Does not affect user-facing stuff - [x] `chore` — Updating dependencies, other boring stuff
This commit is contained in:
parent
59b7c25270
commit
c9b7d328fe
28 changed files with 687 additions and 210019 deletions
|
@ -295,9 +295,9 @@ export class ContentDatabase {
|
|||
|
||||
let contentDatabase: ContentDatabase | null = null
|
||||
|
||||
export async function getDb(opts = {} as { reset?: boolean }) {
|
||||
if (!contentDatabase || opts.reset) {
|
||||
const db = await connect(opts)
|
||||
export async function getDb() {
|
||||
if (!contentDatabase) {
|
||||
const db = await connect({ mode: 'readonly' })
|
||||
contentDatabase = new ContentDatabase(db)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue