Skip to content

Commit

Permalink
Removed Shoudly using statement from template
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcroft committed Jun 6, 2022
1 parent 223effa commit 5e83960
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 7 additions & 4 deletions tools/Legerity.Uno.PageObjectGenerator/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ namespace Legerity.Uno;

public class Program
{
public static void Main(string[] args)
public static async Task Main(string[] args)
{
SerilogConfigurator.ConfigureLogging();
Parser.Default.ParseArguments<Options>(args)
await Parser.Default.ParseArguments<Options>(args)
.WithNotParsed(errors =>
{
foreach (Error? error in errors)
Expand All @@ -30,8 +30,11 @@ public static void Main(string[] args)
{
Directory.CreateDirectory(options.OutputPath);
}

await new XamlPageObjectGenerator().GenerateAsync(options.Namespace, options.InputPath, options.OutputPath);

await new XamlPageObjectGenerator().GenerateAsync(
options.Namespace,
options.InputPath,
options.OutputPath);

Log.Information("Finished generating Legerity for Uno Platform page objects!");
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ using Legerity.Uno.Extensions;
using OpenQA.Selenium;
using OpenQA.Selenium.Appium.Windows;
using OpenQA.Selenium.Remote;
using Shouldly;
using ByExtensions = Legerity.Windows.Extensions.ByExtensions;

namespace {{namespace}}
Expand Down

0 comments on commit 5e83960

Please sign in to comment.