mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix: remove unused variables (#7968)
This commit is contained in:
@@ -49,7 +49,7 @@ const getBaseTranslations = async (baseLanguage: { tag: string }) => {
|
||||
const main = async () => {
|
||||
try {
|
||||
await fs.access(RES_DIR);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
fs.mkdir(RES_DIR).catch(console.error);
|
||||
console.log('Create directory', RES_DIR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user