Try to make Travis happy.

This commit is contained in:
2020-03-15 19:33:53 +00:00
parent dfb2a319ac
commit 34e50799db
3 changed files with 4 additions and 3 deletions

View File

@@ -3,7 +3,8 @@ solution: Aaru.sln
mono: none mono: none
dotnet: 2.1.502 dotnet: 2.1.502
script: script:
- ./build.sh - dotnet restore Aaru.sln
- dotnet build Aaru.sln
notifications: notifications:
irc: irc:
channels: channels:

View File

@@ -50,7 +50,7 @@ namespace Aaru.Commands
_gdprChange = gdprChange; _gdprChange = gdprChange;
_autoCall = autoCall; _autoCall = autoCall;
Handler = CommandHandler.Create<bool, bool>(Invoke); Handler = CommandHandler.Create((Func<bool, bool, int>)Invoke);
} }
public int Invoke(bool debug, bool verbose) public int Invoke(bool debug, bool verbose)

View File

@@ -61,7 +61,7 @@ namespace Aaru.Commands
Argument = new Argument<bool>(() => false), Required = false Argument = new Argument<bool>(() => false), Required = false
}); });
Handler = CommandHandler.Create<bool, bool, bool, bool>(Invoke); Handler = CommandHandler.Create((Func<bool, bool, bool, bool, int>)Invoke);
} }
public int Invoke(bool debug, bool verbose, bool clear, bool clearAll) public int Invoke(bool debug, bool verbose, bool clear, bool clearAll)