Skip to content

Commit

Permalink
Merge branch 'rc_1' of github.com:fsharp/FAKE into rc_1
Browse files Browse the repository at this point in the history
  • Loading branch information
matthid committed Apr 7, 2018
2 parents c5f2db6 + b208095 commit 8388c67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bash-completion/fake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_fake_completion()
{
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
local cur="${COMP_WORDS[COMP_CWORD]}"

if [ -f build.fsx ] ; then
# egrep doesn't have the -P switch to match group on OSX
Expand Down
1 change: 0 additions & 1 deletion src/app/Fake.Azure.WebJobs/WebJobs.fs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ let private deployWebJobToWebSite webSite webJob =
use client = new WebClientWithTimeout(Credentials = NetworkCredential(webSite.UserName, webSite.Password))

client.Headers.Add(HttpRequestHeader.ContentType, "application/zip")
client.Headers.Add("Content-Disposition", "attachment; filename=" + (Path.GetFileName webJob.PackageLocation))

let response = client.UploadFile(uploadUri, "PUT", filePath)
tracefn "Response from webjob upload: %s" (Encoding.ASCII.GetString response)
Expand Down

0 comments on commit 8388c67

Please sign in to comment.