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

Use the proper output filename when invoking prettier #2071

Merged
merged 1 commit into from Jul 3, 2019
Merged

Use the proper output filename when invoking prettier #2071

merged 1 commit into from Jul 3, 2019

Conversation

mvestergaard
Copy link
Contributor

When using near-operation-file where the configuration doesn't point to a file, prettier was invoked incorrectly

For example, with this:

 ./packages/app/src:
    preset: near-operation-file

The filename passed to prettier was ./packages/app/src and not the actual generated file name

@dotansimha
Copy link
Owner

Thank you @mvestergaard !

@dotansimha dotansimha merged commit 0422e5c into dotansimha:master Jul 3, 2019
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.

None yet

2 participants