mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-11 01:55:27 +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{
|
QMap{
|
||||||
"filepath": filepath,
|
"filepath": filepath,
|
||||||
"ref": strings.TrimPrefix(ref, "refs/heads/"),
|
"ref": ref,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue