Apply suggestion from @Tyrrrz

This commit is contained in:
Oleksii Holub 2026-03-23 20:55:59 +02:00 committed by GitHub
parent 9672d162d3
commit 8d03008e2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,6 +43,7 @@ public class PublishMacOSBundleCommand : ICommand
// Ensure the temporary directory is clean before use in case a previous run crashed
if (Directory.Exists(tempDirPath))
Directory.Delete(tempDirPath, true);
var bundleDirPath = Path.Combine(tempDirPath, BundleName);
var contentsDirPath = Path.Combine(bundleDirPath, "Contents");