[go: up one dir, main page]

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

Ensure parent directory exists when using --output on CLI #1530

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

RyanZim
Copy link
Contributor
@RyanZim RyanZim commented May 18, 2024

Resolves #962

Happy to add tests for this, but I didn't see any existing tests for the --output CLI option; am I missing them?

@fabiosantoscode
Copy link
Collaborator

Hey there! Thanks for the PR

You could add a test with --output on test/mocha/cli.js. I didn't find an existing one either!

@RyanZim
Copy link
Contributor Author
RyanZim commented Sep 5, 2024

Finally got around to adding a test for this (sorry for the long wait). Ready for review.

Copy link
Collaborator
@fabiosantoscode fabiosantoscode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, let me look at CI now

@fabiosantoscode fabiosantoscode merged commit 142f56a into terser:master Oct 16, 2024
10 checks passed
@fabiosantoscode
Copy link
Collaborator

Great, thank you!

@RyanZim RyanZim deleted the fix-962 branch October 17, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Terser returns error if folders, specified in --output parameter are not present in file system
2 participants