Skip to content

Shallow copy options object #218

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

Merged
merged 2 commits into from
Jun 1, 2018
Merged

Shallow copy options object #218

merged 2 commits into from
Jun 1, 2018

Conversation

malstoun
Copy link
Contributor

If we run cli with a glob pattern, then in some cases we change options.to before we actually write an output file.

@RyanZim
Copy link
Collaborator

RyanZim commented May 31, 2018

Can you add a test case that ensures the old behavior doesn't happen?

@coveralls
Copy link

coveralls commented May 31, 2018

Coverage Status

Coverage remained the same at 75.0% when pulling 43d3ddf on malstoun:fix/options into d71fda9 on postcss:master.

@malstoun
Copy link
Contributor Author

malstoun commented Jun 1, 2018

I hope this test will help to prevent old behaviour. Mainly it just tests glob patterns but also ensures that for each file we have output. It's not true when problem happens.

@RyanZim RyanZim merged commit eb9aea9 into postcss:master Jun 1, 2018
@malstoun malstoun deleted the fix/options branch June 1, 2018 15:06
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.

3 participants