Refactor: Simplify error handling in CLI helpers

This commit is contained in:
Aman Varshney
2025-04-28 04:14:23 +05:30
parent a735bd1769
commit aef7aa428a
11 changed files with 10 additions and 25 deletions

View File

@@ -47,6 +47,5 @@ export async function setupStarlight(config: ProjectConfig): Promise<void> {
if (error instanceof Error) {
consola.error(pc.red(error.message));
}
throw error;
}
}