From df449169bde6c0576757700f68f2d406139cc846 Mon Sep 17 00:00:00 2001 From: Madeline <46743919+MaddyUnderStars@users.noreply.github.com> Date: Thu, 5 Jan 2023 17:12:21 +1100 Subject: Prettier --- src/cdn/util/FileStorage.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cdn/util/FileStorage.ts') diff --git a/src/cdn/util/FileStorage.ts b/src/cdn/util/FileStorage.ts index 9386663f..e8d499e2 100644 --- a/src/cdn/util/FileStorage.ts +++ b/src/cdn/util/FileStorage.ts @@ -35,7 +35,8 @@ export class FileStorage implements Storage { async set(path: string, value: any) { path = getPath(path); - if (!fs.existsSync(dirname(path))) fs.mkdirSync(dirname(path), { recursive: true }); + if (!fs.existsSync(dirname(path))) + fs.mkdirSync(dirname(path), { recursive: true }); value = Readable.from(value); const cleaned_file = fs.createWriteStream(path); -- cgit 1.5.1