Skip to content

Commit

Permalink
Fix for invalid cast exception (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
kashifsoofi authored and StefH committed Jan 22, 2020
1 parent 9361388 commit ea1be66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WireMock.Net.StandAlone/StandAloneApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class StandAloneApp
/// </summary>
/// <param name="settings">The FluentMockServerSettings</param>
[PublicAPI]
public static WireMockServer Start([NotNull] FluentMockServerSettings settings)
public static WireMockServer Start([NotNull] IWireMockServerSettings settings)
{
Check.NotNull(settings, nameof(settings));

Expand All @@ -38,7 +38,7 @@ public static WireMockServer Start([NotNull] string[] args, [CanBeNull] IWireMoc
{
Check.NotNull(args, nameof(args));

var settings = (FluentMockServerSettings) WireMockServerSettingsParser.ParseArguments(args);
var settings = WireMockServerSettingsParser.ParseArguments(args);

settings.Logger.Debug("WireMock.Net server arguments [{0}]", string.Join(", ", args.Select(a => $"'{a}'")));

Expand Down

0 comments on commit ea1be66

Please sign in to comment.