diff --git a/bin/new.ts b/bin/new.ts index ce6bc4a..82ec80e 100644 --- a/bin/new.ts +++ b/bin/new.ts @@ -14,7 +14,7 @@ export default function (project: string) { if (projects().includes(project)) throw `${project} already exists` - const dir = join(NOSE_DIR, project, "bin") + const dir = join(NOSE_DIR, project) mkdirSync(dir, { recursive: true }) writeFileSync(join(dir, `index.ts`), `export default (c: Context) =>\n "Hello, world!"`)