diff --git a/WebsitePanel/Sources/WebsitePanel.Server.Utils/FileUtils.cs b/WebsitePanel/Sources/WebsitePanel.Server.Utils/FileUtils.cs index 01185cf4..c12ceea8 100644 --- a/WebsitePanel/Sources/WebsitePanel.Server.Utils/FileUtils.cs +++ b/WebsitePanel/Sources/WebsitePanel.Server.Utils/FileUtils.cs @@ -37,8 +37,6 @@ using System.Collections.Generic; using System.Reflection; using Ionic.Zip; using WebsitePanel.Providers.OS; -using System.Diagnostics.Contracts; - namespace WebsitePanel.Providers.Utils { @@ -128,7 +126,7 @@ namespace WebsitePanel.Providers.Utils /// An instance of a command-line provider to initialize the utility with. public static void SetDefaultCliProvider(ICommandLineProvider provider) { - Contract.Requires(provider != null); + Debug.Assert(provider != null, "Command line provider is null"); CliProvider = provider; }