Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
halex2005 committed May 25, 2016
1 parent f6617e3 commit 0d897b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DiadocApi/Http/HttpClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private WebRequest PrepareWebRequest([NotNull] HttpRequest request)
}
else webRequest.ContentLength = 0;

webRequest.Headers.Add("User-Agent", UserAgentString);
webRequest.UserAgent = UserAgentString;
return webRequest;
}

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.36.{build}
version: 1.0.{build}
assembly_info:
patch: false
platform: Any CPU
Expand Down
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ Task("PublishArtifactsToAppVeyor")
//////////////////////////////////////////////////////////////////////

Task("Default")
.IsDependentOn("Rebuild");
.IsDependentOn("AppVeyor");

Task("FullBuild")
.IsDependentOn("GenerateVersionInfo")
Expand Down
1 change: 1 addition & 0 deletions generate.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PowerShell -NoLogo -ExecutionPolicy Unrestricted -Command "& '.\build.ps1'" < NUL || exit /b 1

0 comments on commit 0d897b7

Please sign in to comment.