style: format with prettier v3

This commit is contained in:
Pooya Parsa 2023-08-07 21:38:40 +02:00
parent 1d0395dbf5
commit 22b797e42f
3 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
{
"trailingComma": "es5"
}

View File

@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />

View File

@ -67,7 +67,7 @@ export default defineDriver((opts: FSStorageOptions = {}) => {
async getMeta(key) { async getMeta(key) {
const { atime, mtime, size, birthtime, ctime } = await fsp const { atime, mtime, size, birthtime, ctime } = await fsp
.stat(r(key)) .stat(r(key))
.catch(() => ({} as Stats)); .catch(() => ({}) as Stats);
return { atime, mtime, size, birthtime, ctime }; return { atime, mtime, size, birthtime, ctime };
}, },
setItem(key, value) { setItem(key, value) {