mirror of
https://github.com/unjs/unstorage.git
synced 2025-12-08 21:26:09 +00:00
style: format with prettier v3
This commit is contained in:
parent
1d0395dbf5
commit
22b797e42f
@ -0,0 +1,3 @@
|
||||
{
|
||||
"trailingComma": "es5"
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
@ -67,7 +67,7 @@ export default defineDriver((opts: FSStorageOptions = {}) => {
|
||||
async getMeta(key) {
|
||||
const { atime, mtime, size, birthtime, ctime } = await fsp
|
||||
.stat(r(key))
|
||||
.catch(() => ({} as Stats));
|
||||
.catch(() => ({}) as Stats);
|
||||
return { atime, mtime, size, birthtime, ctime };
|
||||
},
|
||||
setItem(key, value) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user