MergeWith should create the file, or fail if its missing
See original GitHub issueCurrently testing out the MergeWith option. It seems that it neither fails the test, logs a warning or creates the target file - if it’s missing. This seems like a bug to me. It simply silently ignores writing any output.
Workarounds:
- Place an empty JSON Object (a simple
{}
will do) in the target file - Run first test without Merge, then the remaining ones with Merge
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Mercurial - cannot commit merge with missing files error
Try hg status and look for files in state ! (missing). The cause is that one of the files which is part of...
Read more >git pull from remote but no such ref was fetched?
I have a git mirror on my disk and when I want to update my repo with git pull it gives me error...
Read more >Merge with Caution: How to Avoid Common Problems when ...
This paper examines several common issues, provides examples to illustrate what can go wrong and why, and discusses best practices to avoid unintended ......
Read more >Troubleshooting Data Merge Errors
When I Create Merged Document two fields do not file, their field names appear instead of the data in the data source. I've...
Read more >How to Resolve Merge Conflicts in Git – A Practical Guide ...
Always pull before a push to make sure you will not face any rejections from Git. Talk to your peers/co-developers when you are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The initial issue was based on my misunderstanding of how MergeWith was meant to work. I expected MergeWith to supersede the output, and write to the MergeWith path, while keeping what was in it to begin with.
FYI I’m not sure I understood you doubt about guide, it read a file if exists and merge results. https://github.com/tonerdo/coverlet/blob/226455ece9760c72d3d09ca6c377efb8cb61d686/src/coverlet.core/Coverage.cs#L198