remove unused variables
This commit is contained in:
parent
fe82775586
commit
21cd1d51a8
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ export async function getData(params: Params): Promise<Data> {
|
||||||
export async function fetchContent(contentID: string) {
|
export async function fetchContent(contentID: string) {
|
||||||
try {
|
try {
|
||||||
return await import(`@pompydev/content/dist/content${contentID}.json`)
|
return await import(`@pompydev/content/dist/content${contentID}.json`)
|
||||||
} catch (err) {
|
} catch {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ async function main() {
|
||||||
try {
|
try {
|
||||||
fs.rmSync(outPath, { recursive: true })
|
fs.rmSync(outPath, { recursive: true })
|
||||||
// eslint-disable-next-line no-empty
|
// eslint-disable-next-line no-empty
|
||||||
} catch (err) {}
|
} catch {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checking
|
* Checking
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue