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

Update-MarkDownHelp should not rewrite help files if not needed #393

Closed
f0rt opened this issue Aug 8, 2018 · 5 comments
Closed

Update-MarkDownHelp should not rewrite help files if not needed #393

f0rt opened this issue Aug 8, 2018 · 5 comments

Comments

@f0rt
Copy link

f0rt commented Aug 8, 2018

The cmdlet rewrites the files even no new changes are introduced. This requires checkhout operation if the files are under source control. Please avoid this if possible.

@vors
Copy link
Collaborator

vors commented Aug 10, 2018

I would be happy to review a PR for that.

@it-praktyk
Copy link
Contributor

It looks like the duplicate of #371. @f0rt, can you confirm?

@f0rt
Copy link
Author

f0rt commented Oct 21, 2018

No this is a different issue. The cmdlet should not rewrite files if the new content is the same. Nothing to do with alphabetical order mentioned in the issue above.

@vors
Copy link
Collaborator

vors commented Oct 24, 2018

That should be pretty straightforward to implement: Get-Content before writing it down, skip if it's the same.

@adityapatwardhan
Copy link
Member

Closed by #412

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

No branches or pull requests

4 participants