mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
20 lines
367 B
TypeScript
20 lines
367 B
TypeScript
import fs from "fs";
|
|||
|
|
import path from "path";
|
||
|
|
|
||
|
|
import Logger from "../libs/Logger";
|
||
|
|
|
||
|
|
class Configuration {
|
||
|
|
|
||
|
|
public init(): void {
|
||
|
|
const dir = path.join(process.cwd(), 'configs/');
|
||
|
|
if (!fs.existsSync(dir)) {
|
||
|
|
fs.mkdirSync(dir);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
// TODO: Make a real providers like Environment
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
export default new Configuration();
|