diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff45b064..08bea21b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,9 +42,8 @@ non_reg: when: always script: - cd test/yavscTests - - cp $TestingConfig appsettings.Testing.json - cp $yavsc_client_secret_json yavsc-client-secret.json - - ASPNET_ENV=Testing dnx test -maxthreads 1 -xml test-results.xml + - ASPNET_ENV=Development dnx test -trait=Category=non_reg -maxthreads 1 -xml test-results.xml release: stage: deploy diff --git a/src/Yavsc/Startup/Startup.FileServer.cs b/src/Yavsc/Startup/Startup.FileServer.cs index c0ea62d8..898a2a04 100644 --- a/src/Yavsc/Startup/Startup.FileServer.cs +++ b/src/Yavsc/Startup/Startup.FileServer.cs @@ -21,14 +21,6 @@ namespace Yavsc { public static IApplicationBuilder UseYaFileServer(this IApplicationBuilder builder, FileServerOptions options) { - if (builder == null) - { - throw new ArgumentNullException("builder"); - } - if (options == null) - { - throw new ArgumentNullException("options"); - } if (options == null) { throw new ArgumentNullException("options"); @@ -46,10 +38,6 @@ namespace Yavsc public static IApplicationBuilder UseYaSendFileFallback(this IApplicationBuilder builder) { - if (builder == null) - { - throw new ArgumentNullException("builder"); - } return builder.UseMiddleware(new object[0]); } } diff --git a/version.txt b/version.txt index cee729d7..bec1ae31 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -1.0.6-rc18 +1.0.6-rc19