fix: auto formatter

This commit is contained in:
tetuaoro
2024-07-10 14:30:52 +02:00
parent e4a7ff08c6
commit f47e740861
3 changed files with 39 additions and 48 deletions
+2 -2
View File
@@ -265,7 +265,7 @@ module.exports = class Server {
});
};
// import_export
// backup_restore
const router3 = createRouter();
app.use(router3);
@@ -293,7 +293,7 @@ module.exports = class Server {
getMeta: async (id) => {
const filePath = safePathJoin(publicDir, id);
const stats = await stat(filePath).catch(() => { });
const stats = await stat(filePath).catch(() => {});
if (!stats || !stats.isFile()) {
return;
}