feat(core): support cli tools inside mono repos.

This commit is contained in:
2025-01-02 03:31:15 +01:00
parent 51ca619151
commit 23f89eabf3
6 changed files with 74 additions and 34 deletions

View File

@@ -49,7 +49,7 @@ export class GiteaAssets {
{
headers: this.headers,
method: 'GET',
params: branch ? { ref: branch } : {},
queryParams: branch ? { ref: branch } : {},
}
)
if (!Array.isArray(response.body) && typeof response.body === 'object') {
@@ -64,7 +64,7 @@ export class GiteaAssets {
{
headers: this.headers,
method: 'GET',
params: branch ? { ref: branch } : {},
queryParams: branch ? { ref: branch } : {},
}
);
entry.encoding = response2.body.encoding;