minor fix

This commit is contained in:
Tommy Parnell
2016-06-16 07:23:01 -04:00
parent 41bca423b2
commit b94d58a334
3 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ var msbuild = require('gulp-msbuild');
var download = require("gulp-download");
var del = require('del');
var assemblyInfo = require('gulp-dotnet-assembly-info');
var version = '1.0.0';
var version = '1.0.1';
gulp.task('clean', ()=>{
return del['./**/bin', './**/obj', 'nuget.exe', 'nupkgs']
@@ -46,5 +46,5 @@ gulp.task('pack', ['build'], ()=>{
gulp.task('publish', ['pack'], ()=>{
return gulp.src('./nupkgs/*.nupkg')
.pipe(nuget.push({ nuget: "nuget.exe", source: 'https://www.nuget.org/api/v2/package', apiKey: '158f98f2-f9e6-4490-9382-8b49ebda9cc7'}));
.pipe(nuget.push({ nuget: "nuget.exe", source: 'https://www.nuget.org/api/v2/package', apiKey: process.env.nugetApiKey}));
});

View File

@@ -24,7 +24,7 @@ namespace CompressR.WebApi
.Select(a => a.Value)
.Any(a => a.Equals(Constants.Deflate, StringComparison.OrdinalIgnoreCase));
if (acceptedEncoding)
if (!acceptedEncoding)
{
return;
}
@@ -41,7 +41,7 @@ namespace CompressR.WebApi
.Select(a => a.Value)
.Any(a => a.Equals(Constants.Deflate, StringComparison.OrdinalIgnoreCase));
if (acceptedEncoding)
if (!acceptedEncoding)
{
return;
}

View File

@@ -23,7 +23,7 @@ namespace CompressR.WebApi
.Select(a => a.Value)
.Any(a => a.Equals(Constants.Gzip, StringComparison.OrdinalIgnoreCase));
if (acceptedEncoding)
if (!acceptedEncoding)
{
return;
}
@@ -40,7 +40,7 @@ namespace CompressR.WebApi
.Select(a => a.Value)
.Any(a => a.Equals(Constants.Gzip, StringComparison.OrdinalIgnoreCase));
if (acceptedEncoding)
if (!acceptedEncoding)
{
return;
}