fix: Fix wrong config
All checks were successful
Release / Release (push) Successful in 33s

This commit is contained in:
Jan K9f 2025-06-19 16:56:50 +02:00
commit 1f0d3aa030
Signed by: jank
GPG key ID: 22BEAC760B3333D6

View file

@ -20,7 +20,7 @@ program
.name("project-cli") .name("project-cli")
.description("A cli for managing projects") .description("A cli for managing projects")
.action(async () => { .action(async () => {
if (!fs.existsSync(configPath + "config.toml")) { if (!fs.existsSync(configPath + "config.json")) {
const createConfig = await confirm({ const createConfig = await confirm({
message: message:
"No cofig has been found. Would you like to generate a new one?", "No cofig has been found. Would you like to generate a new one?",