mirror of
https://github.com/SrIzan10/sern-create-bot.git
synced 2026-05-01 11:05:20 +00:00
fix: sern config wrong key
This commit is contained in:
@@ -168,7 +168,7 @@ async function createProject(
|
||||
await Promise.all([
|
||||
fs.promises.writeFile(
|
||||
path.join(root, 'sern.config.json'),
|
||||
JSON.stringify(config),
|
||||
JSON.stringify(config, null, 2),
|
||||
'utf8'
|
||||
),
|
||||
fs.promises.writeFile(
|
||||
@@ -207,7 +207,7 @@ function createConfig(isTypescript: boolean) {
|
||||
language: isTypescript ? 'typescript' : 'javascript',
|
||||
paths: {
|
||||
base: 'src',
|
||||
cmds_dir: 'commands',
|
||||
commands: 'commands',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user