[mmp] Fix PostLinkScanTypeReferenceStep from running two times (#8402)

This came with the merge from xcode11.4 into master. Thankfully there
were unit tests to caught it, because Eyeballs Mark I did not.

Fix https://github.com/xamarin/xamarin-macios/issues/8400
This commit is contained in:
Sebastien Pouliot 2020-04-15 20:33:29 -04:00 коммит произвёл GitHub
Родитель a036e6e998
Коммит 1a8f0e6811
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -162,10 +162,6 @@ namespace MonoMac.Tuner {
if (options.WarnOnTypeRef.Count > 0)
pipeline.Append (new PostLinkScanTypeReferenceStep (options.WarnOnTypeRef));
// expect that changes can occur until it's all saved back to disk
if (options.WarnOnTypeRef.Count > 0)
pipeline.AppendStep (new PostLinkScanTypeReferenceStep (options.WarnOnTypeRef));
return pipeline;
}