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

fix writeTextFileSyncPreserveMode() to correctly keep mode from a known file #11534

Closed
wants to merge 3 commits into from

Conversation

cderv
Copy link
Collaborator

@cderv cderv commented Nov 26, 2024

This fixes #11532 regression from 1.6 due to #10657 which reverted back to #660

writeTextFileSyncPreserveMode() now correctly takes two arguments

  • Path with mode to preserve
  • Path to write content too

The path could be the same. And this is what it was supposed to be from refactoring in #10657.

@cderv cderv added the backport label Nov 26, 2024
@cscheid
Copy link
Collaborator

cscheid commented Nov 26, 2024

This API is a little weird. Can we talk about it?

@cderv
Copy link
Collaborator Author

cderv commented Nov 26, 2024

yes definitely; Feel free to suggest a different one too.

I hesitated about the order of the arguments but maybe you have even something completely different in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

read access on bootstrap css file
2 participants