Skip to content

Commit

Permalink
chore: release 0.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
foamzou committed Aug 19, 2022
1 parent 1c6323d commit 8d9964a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,12 @@ linters:
- govet
- gofmt
- goimports
- lll
- megacheck
- misspell
- revive
disable:
- gosec
- lll
- maligned
- prealloc
- scopelint
Expand Down
2 changes: 1 addition & 1 deletion LATEST_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.6
0.2.7
3 changes: 0 additions & 3 deletions utils/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ func GetCookie(url string, headers map[string]string, isHead bool) (string, erro
}
cookie := resp.RawResponse.Header.Get("Set-Cookie")
if cookie == "" {
fmt.Println(url)
fmt.Println(headers)
fmt.Println(resp.RawResponse.Header)
return "", fmt.Errorf("cookie is empty")
}

Expand Down
4 changes: 2 additions & 2 deletions version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
)

const (
BuildCode = 11
BuildName = "0.2.6"
BuildCode = 12
BuildName = "0.2.7"
Repo = "https://github.com/foamzou/media-get"
)

Expand Down

0 comments on commit 8d9964a

Please sign in to comment.