Blame Raw
Cohee · 51ad27fb · · 12 lines (326 B)
1 contributor
1/**
2 * Scripts to be done before starting the server for the first time.
3 */
4import path from 'node:path';
5import process from 'node:process';
6import { addMissingConfigValues } from './config-init.js';
7
8try {
9 addMissingConfigValues(path.join(process.cwd(), './config.yaml'));
10} catch (error) {
11 console.error(error);
12}