From 8ee4fa0927d0196314ea7bb8bbba63eac94514f5 Mon Sep 17 00:00:00 2001 From: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> Date: Sun, 2 Jul 2023 22:07:24 -0500 Subject: [PATCH] fix: sern config wrong key --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index cdbf920..636b046 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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', }, }; }