Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: don't throw if output path doesn't exist #859

Open
josephjclark opened this issue Jan 20, 2025 · 0 comments
Open

CLI: don't throw if output path doesn't exist #859

josephjclark opened this issue Jan 20, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@josephjclark
Copy link
Collaborator

Currently if you run the CLI and ask for output in a path that doesn't exist (ie, a folder hasn't been created), the CLI will throw after execution.

This isn't very good - we should rm.mkrDir(path.dirname(opts.outputPath), { recursive: true }) to ensure the output is created safely.

@josephjclark josephjclark added the good first issue Good for newcomers label Jan 20, 2025
@github-project-automation github-project-automation bot moved this to New Issues in v2 Jan 20, 2025
@theroinaochieng theroinaochieng moved this from New Issues to DevX Backlog in v2 Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: DevX Backlog
Development

No branches or pull requests

1 participant