vnext
Paul Schneider 3 years ago
parent fe7339b851
commit 0c376bcf40
3 changed files with 2 additions and 15 deletions

@ -42,9 +42,8 @@ non_reg:
when: always when: always
script: script:
- cd test/yavscTests - cd test/yavscTests
- cp $TestingConfig appsettings.Testing.json
- cp $yavsc_client_secret_json yavsc-client-secret.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: release:
stage: deploy stage: deploy

@ -21,14 +21,6 @@ namespace Yavsc
{ {
public static IApplicationBuilder UseYaFileServer(this IApplicationBuilder builder, FileServerOptions options) 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) if (options == null)
{ {
throw new ArgumentNullException("options"); throw new ArgumentNullException("options");
@ -46,10 +38,6 @@ namespace Yavsc
public static IApplicationBuilder UseYaSendFileFallback(this IApplicationBuilder builder) public static IApplicationBuilder UseYaSendFileFallback(this IApplicationBuilder builder)
{ {
if (builder == null)
{
throw new ArgumentNullException("builder");
}
return builder.UseMiddleware<YaSendFileMiddleware>(new object[0]); return builder.UseMiddleware<YaSendFileMiddleware>(new object[0]);
} }
} }

@ -1 +1 @@
1.0.6-rc18 1.0.6-rc19

Loading…