mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
no need to trim file ref
This commit is contained in:
parent
130c623a35
commit
45af1697b8
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ func (c *Client) RepoRawFileRef(id, ref, filepath string) ([]byte, error) {
|
|||
},
|
||||
QMap{
|
||||
"filepath": filepath,
|
||||
"ref": strings.TrimPrefix(ref, "refs/heads/"),
|
||||
"ref": ref,
|
||||
},
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue