Compare commits

..

1 commit

Author SHA1 Message Date
Take-John 7fe378ca50
Merge 3f710c7c6b into 830c9c2ecd 2024-03-30 20:08:26 +09:00

View file

@ -18,11 +18,9 @@ type Config = {
};
import chalk from 'chalk';
import fs from "fs";
import uncheckedConfig from '../config.json' assert { type: 'json' };
import { warn } from '@/utils/log.js';
const uncheckedConfig = JSON.parse(fs.readFileSync('./config.json', 'utf8'));
function warnWithPrefix(msg: string): void {
warn(`[Config]: ${chalk.red(msg)}`);
}