Fixed issue where concurrent execution could result in invalid file
This commit is contained in:
Родитель
6f9c97e892
Коммит
bb69ead830
|
@ -20,8 +20,4 @@ if ($newFileContents -eq $fileContents) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Test-Path '.\..\Labs.TargetFrameworks.props') {
|
||||
Clear-Content -Path .\..\Labs.TargetFrameworks.props;
|
||||
}
|
||||
|
||||
Add-Content -Force -Path .\..\Labs.TargetFrameworks.props -Value $newFileContents;
|
||||
Set-Content -Force -Path .\..\Labs.TargetFrameworks.props -Value $newFileContents;
|
Загрузка…
Ссылка в новой задаче