mirror of
https://github.com/kamask-dev/pchelpmaster.git
synced 2026-11-11 05:49:38 +00:00
style: apply prettier formatting
Routine formatting only, no functional changes. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016GHq7GcQtB91bnq3832H76
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
8cc6ef4dcc
commit
b0bcd7ca2d
@@ -5,8 +5,10 @@ const { PB_SUPERUSER_EMAIL: email, PB_SUPERUSER_PASSWORD: password } = process.e
|
||||
const dir = process.env.PB_DIR || 'pocketbase/pb_data';
|
||||
|
||||
if (!email || !password) {
|
||||
console.error('PB_SUPERUSER_EMAIL and PB_SUPERUSER_PASSWORD must be set (see .env.example)');
|
||||
process.exit(1);
|
||||
console.error('PB_SUPERUSER_EMAIL and PB_SUPERUSER_PASSWORD must be set (see .env.example)');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
execFileSync('pocketbase', ['superuser', 'upsert', email, password, '--dir', dir], { stdio: 'inherit' });
|
||||
execFileSync('pocketbase', ['superuser', 'upsert', email, password, '--dir', dir], {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user