mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 18:04:15 +02:00
no need to trim file ref
This commit is contained in:
parent
130c623a35
commit
45af1697b8
@ -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…
x
Reference in New Issue
Block a user