mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
refactor: eslint and prettier conflict will be resolved and formatted
This commit is contained in:
@@ -2,7 +2,9 @@ import 'dotenv/config';
|
||||
import { ensureR2BucketExists, R2_BUCKET_NAME } from '@/lib/r2';
|
||||
import { logError } from '@/lib/logger';
|
||||
|
||||
const shouldCreateBucket = /^(1|true|yes|on)$/i.test(process.env.SELF_HOSTED_AUTO_CREATE_BUCKET ?? '');
|
||||
const shouldCreateBucket = /^(1|true|yes|on)$/i.test(
|
||||
process.env.SELF_HOSTED_AUTO_CREATE_BUCKET ?? ''
|
||||
);
|
||||
|
||||
async function main() {
|
||||
if (!shouldCreateBucket) {
|
||||
|
||||
Reference in New Issue
Block a user