Skip to content

Commit

Permalink
fix(browserType): fix ignoreDefaultArgs serialization (#1082)
Browse files Browse the repository at this point in the history
closes #1080
  • Loading branch information
kblok committed Dec 30, 2020
1 parent 6b44540 commit ae6b879
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/PlaywrightSharp/LaunchOptions.cs
Expand Up @@ -188,10 +188,9 @@ public LaunchPersistentOptions ToPersistentOptions()
{
args["ignoreDefaultArgs"] = IgnoreDefaultArgs;
}

if (IgnoredDefaultArgs != null)
else if (IgnoredDefaultArgs != null)
{
args["ignoredDefaultArgs"] = IgnoredDefaultArgs;
args["ignoreDefaultArgs"] = IgnoredDefaultArgs;
}

if (Env != null)
Expand Down

0 comments on commit ae6b879

Please sign in to comment.