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: ensure writeFile creates filePath directories if they don't exist #15990

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

servusdei2018
Copy link

Summary
This PR introduces a fix for writeFile. The function currently assumes that the directories leading to the specified filePath exist, but this PR ensures that they exist.

Related Issues/PRs
No related issues or PRs.

@servusdei2018 servusdei2018 requested a review from a team as a code owner May 10, 2024 22:29
@servusdei2018 servusdei2018 requested review from connorjclark and removed request for a team May 10, 2024 22:29
@servusdei2018 servusdei2018 changed the title fix(cli/printer.js): ensure writeFile creates filePath directories if they don't exist cli(printer.js): ensure writeFile creates filePath directories if they don't exist May 10, 2024
@servusdei2018 servusdei2018 changed the title cli(printer.js): ensure writeFile creates filePath directories if they don't exist cli: ensure writeFile creates filePath directories if they don't exist May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants