dotnet/msbuild
GitHub で見るWriteOnlyWhenDifferent should check with the same encoding
Open
#8,361 opened on 2023年1月27日
Area: TasksPartner requestbackloghelp wantedtriaged
Repository metrics
- Stars
- (5,062 stars)
- PR merge metrics
- (平均マージ 11d 7h) (30d で 125 merged PRs)
説明
The encoding is missing on the check for WriteOnlyWhenDifferent
https://github.com/dotnet/msbuild/blob/56087a97257fab6a67d110a7b2c4116f707325ee/src/Tasks/FileIO/WriteLinesToFile.cs#L102
while it's present on the subsequent write: https://github.com/dotnet/msbuild/blob/56087a97257fab6a67d110a7b2c4116f707325ee/src/Tasks/FileIO/WriteLinesToFile.cs#L121